Browse Source

Fix the type of the list files recursive parameter (#9337)

Matt Rubens 1 month ago
parent
commit
c4f1ce5f91
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/prompts/tools/native-tools/list_files.ts

+ 1 - 1
src/core/prompts/tools/native-tools/list_files.ts

@@ -15,7 +15,7 @@ export default {
 					description: "Directory path to inspect, relative to the workspace",
 				},
 				recursive: {
-					type: ["boolean"],
+					type: "boolean",
 					description: "Set true to list contents recursively; false to show only the top level",
 				},
 			},