File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
packages/core/src/codewhispererChat/controllers/chat Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ import { isSsoConnection } from '../../../auth/connection'
54
54
import { inspect } from '../../../shared/utilities/collectionUtils'
55
55
import { DefaultAmazonQAppInitContext } from '../../../amazonq/apps/initContext'
56
56
import globals from '../../../shared/extensionGlobals'
57
- import { waitUntil } from '../../../shared/utilities/timeoutUtils'
58
57
59
58
export interface ChatControllerMessagePublishers {
60
59
readonly processPromptChatMessage : MessagePublisher < PromptMessage >
@@ -645,21 +644,6 @@ export class ChatController {
645
644
this . messenger . sendOpenSettingsMessage ( triggerID , tabID )
646
645
return
647
646
}
648
- } else if (
649
- ! LspController . instance . isIndexingInProgress ( ) &&
650
- CodeWhispererSettings . instance . isLocalIndexEnabled ( )
651
- ) {
652
- const start = performance . now ( )
653
- triggerPayload . relevantTextDocuments = await waitUntil (
654
- async function ( ) {
655
- if ( triggerPayload . message ) {
656
- return await LspController . instance . query ( triggerPayload . message )
657
- }
658
- return [ ]
659
- } ,
660
- { timeout : 500 , interval : 200 , truthy : false }
661
- )
662
- triggerPayload . projectContextQueryLatencyMs = performance . now ( ) - start
663
647
}
664
648
}
665
649
You can’t perform that action at this time.
0 commit comments