Replace list_files_recursive and list_files_top_level with list_files and automatically provide project file structure when task starts to avoid unnecessary request

This commit is contained in:
Saoud Rizwan
2024-08-29 05:58:41 -04:00
parent 26d7dfa8f7
commit e78a58d77d
4 changed files with 25 additions and 79 deletions

View File

@@ -3,8 +3,7 @@ import { Anthropic } from "@anthropic-ai/sdk"
export type ToolName =
| "write_to_file"
| "read_file"
| "list_files_top_level"
| "list_files_recursive"
| "list_files"
| "view_source_code_definitions_top_level"
| "execute_command"
| "ask_followup_question"