Skip to content

Commit 0e68803

Browse files
authored
fix: fix merge conflicts for fuzzySearch (#1546)
1 parent b2ac384 commit 0e68803

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

server/aws-lsp-codewhisperer/src/language-server/agenticChat/agenticChatController.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)