File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
packages/web/src/features/chat Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -54,13 +54,8 @@ export const createAgentStream = async ({
54
54
[ toolNames . readFiles ] : readFilesTool ,
55
55
[ toolNames . findSymbolReferences ] : findSymbolReferencesTool ,
56
56
[ toolNames . findSymbolDefinitions ] : findSymbolDefinitionsTool ,
57
- // We only include these tools when there are no search scopes
58
- // because the LLM will need to discover what repositories are
59
- // available to it.
60
- ...( searchScopeRepoNames . length === 0 ? {
61
- [ toolNames . searchRepos ] : searchReposTool ,
62
- [ toolNames . listAllRepos ] : listAllReposTool ,
63
- } : { } ) ,
57
+ [ toolNames . searchRepos ] : searchReposTool ,
58
+ [ toolNames . listAllRepos ] : listAllReposTool ,
64
59
} ,
65
60
prepareStep : async ( { stepNumber } ) => {
66
61
// The first step attaches any mentioned sources to the system prompt.
You can’t perform that action at this time.
0 commit comments