File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
server/aws-lsp-codewhisperer/src/language-server/agenticChat Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1105,13 +1105,13 @@ export class AgenticChatController implements ChatHandlers {
11051105 switch ( toolUse . name ) {
11061106 case 'fsRead' :
11071107 case 'listDirectory' :
1108- case 'fuzzySearch ' :
1108+ case 'fileSearch ' :
11091109 const initialListDirResult = this . #processReadOrListOrSearch( toolUse , chatResultStream )
11101110 if ( initialListDirResult ) {
11111111 await chatResultStream . writeResultBlock ( initialListDirResult )
11121112 }
11131113 break
1114- // no need to write tool result for listDir,fsRead,fuzzySearch into chat stream
1114+ // no need to write tool result for listDir,fsRead,fileSearch into chat stream
11151115 case 'executeBash' :
11161116 // no need to write tool result for listDir and fsRead into chat stream
11171117 // executeBash will stream the output instead of waiting until the end
@@ -1519,7 +1519,7 @@ export class AgenticChatController implements ChatHandlers {
15191519 }
15201520 break
15211521
1522- case 'fuzzySearch ' :
1522+ case 'fileSearch ' :
15231523 const searchPath = ( toolUse . input as unknown as FileSearchParams ) . path
15241524 header = {
15251525 body : 'File Search' ,
@@ -1853,7 +1853,7 @@ export class AgenticChatController implements ChatHandlers {
18531853 title =
18541854 toolUse . name === 'fsRead'
18551855 ? `${ itemCount } file${ itemCount > 1 ? 's' : '' } read`
1856- : toolUse . name === 'fuzzySearch '
1856+ : toolUse . name === 'fileSearch '
18571857 ? `${ itemCount } ${ itemCount === 1 ? 'directory' : 'directories' } searched`
18581858 : `${ itemCount } ${ itemCount === 1 ? 'directory' : 'directories' } listed`
18591859 }
You can’t perform that action at this time.
0 commit comments