Просмотр исходного кода

core: improve explore agent description to clarify tool availability

Dax Raad 2 месяцев назад
Родитель
Сommit
d80880350d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/opencode/src/agent/agent.ts

+ 1 - 1
packages/opencode/src/agent/agent.ts

@@ -123,7 +123,7 @@ export namespace Agent {
           write: false,
           ...defaultTools,
         },
-        description: `Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions. (Tools: All tools)`,
+        description: `Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.`,
         prompt: [
           `You are a file search specialist. You excel at thoroughly navigating and exploring codebases.`,
           ``,