Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit 9e6a2e0

Browse files
authored
fix(tools): check file existence for system tools (#145)
Signed-off-by: Tomas Dvorak <toomas2d@gmail.com>
1 parent 2780d00 commit 9e6a2e0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/runs/execution/helpers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export async function checkFileExistsOnToolResource(
5050
): Promise<boolean> {
5151
switch (toolResource.type) {
5252
case ToolType.USER:
53+
case ToolType.SYSTEM:
5354
case ToolType.CODE_INTERPRETER:
5455
return !!toolResource.fileContainers.find((fc) => fc.file.id === file.id);
5556
case ToolType.FILE_SEARCH: {

0 commit comments

Comments
 (0)