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 ({
5454 [ toolNames . readFiles ] : readFilesTool ,
5555 [ toolNames . findSymbolReferences ] : findSymbolReferencesTool ,
5656 [ 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 ,
6459 } ,
6560 prepareStep : async ( { stepNumber } ) => {
6661 // The first step attaches any mentioned sources to the system prompt.
You can’t perform that action at this time.
0 commit comments