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'
5454import { inspect } from '../../../shared/utilities/collectionUtils'
5555import { DefaultAmazonQAppInitContext } from '../../../amazonq/apps/initContext'
5656import globals from '../../../shared/extensionGlobals'
57- import { waitUntil } from '../../../shared/utilities/timeoutUtils'
5857
5958export interface ChatControllerMessagePublishers {
6059 readonly processPromptChatMessage : MessagePublisher < PromptMessage >
@@ -645,21 +644,6 @@ export class ChatController {
645644 this . messenger . sendOpenSettingsMessage ( triggerID , tabID )
646645 return
647646 }
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
663647 }
664648 }
665649
You can’t perform that action at this time.
0 commit comments