File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
packages/core/src/codewhispererChat/controllers/chat Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ import { isSsoConnection } from '../../../auth/connection'
6363import { inspect } from '../../../shared/utilities/collectionUtils'
6464import { DefaultAmazonQAppInitContext } from '../../../amazonq/apps/initContext'
6565import globals from '../../../shared/extensionGlobals'
66- import { waitUntil } from '../../../shared/utilities/timeoutUtils'
6766import { MynahIconsType , MynahUIDataModel , QuickActionCommand } from '@aws/mynah-ui'
6867import { LspClient } from '../../../amazonq/lsp/lspClient'
6968import { ContextCommandItem } from '../../../amazonq/lsp/types'
@@ -978,24 +977,6 @@ export class ChatController {
978977 this . messenger . sendOpenSettingsMessage ( triggerID , tabID )
979978 return
980979 }
981- } else if (
982- ! LspController . instance . isIndexingInProgress ( ) &&
983- CodeWhispererSettings . instance . isLocalIndexEnabled ( )
984- ) {
985- const start = performance . now ( )
986- triggerPayload . relevantTextDocuments = await waitUntil (
987- async function ( ) {
988- if ( triggerPayload . message ) {
989- return await LspController . instance . query ( triggerPayload . message )
990- }
991- return [ ]
992- } ,
993- { timeout : 500 , interval : 200 , truthy : false }
994- )
995- triggerPayload . mergedRelevantDocuments = this . mergeRelevantTextDocuments (
996- triggerPayload . relevantTextDocuments
997- )
998- triggerPayload . projectContextQueryLatencyMs = performance . now ( ) - start
999980 }
1000981 }
1001982
You can’t perform that action at this time.
0 commit comments