File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
codewhispererChat/controllers/chat Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -426,7 +426,7 @@ export class LspController {
426426 } )
427427 }
428428
429- async updateContextCommandSymbols ( ) {
429+ async updateContextCommandSymbolsOnce ( ) {
430430 if ( this . _contextCommandSymbolsUpdated ) {
431431 return
432432 }
Original file line number Diff line number Diff line change @@ -552,7 +552,7 @@ export class ChatController {
552552 }
553553
554554 this . messenger . sendContextCommandData ( contextCommand )
555- LspController . instance . updateContextCommandSymbols ( )
555+ LspController . instance . updateContextCommandSymbolsOnce ( )
556556 }
557557
558558 private handlePromptCreate ( tabID : string ) {
@@ -1088,7 +1088,7 @@ export class ChatController {
10881088 }
10891089
10901090 const session = this . sessionStorage . getSession ( tabID )
1091- const ContextCommandDocumentReferences = await this . resolveContextCommandPayload ( triggerPayload , session )
1091+ const contextCommandDocumentReferences = await this . resolveContextCommandPayload ( triggerPayload , session )
10921092 triggerPayload . useRelevantDocuments =
10931093 triggerPayload . context ?. some (
10941094 ( context ) => typeof context !== 'string' && context . command === '@workspace'
@@ -1140,7 +1140,7 @@ export class ChatController {
11401140 ( doc ) => doc . relativeFilePath
11411141 )
11421142 const seen : string [ ] = [ ]
1143- for ( const documentReference of ContextCommandDocumentReferences ) {
1143+ for ( const documentReference of contextCommandDocumentReferences ) {
11441144 if (
11451145 ! relativePathsOfMergedRelevantDocuments . includes ( documentReference . relativeFilePath ) &&
11461146 ! seen . includes ( documentReference . relativeFilePath )
You can’t perform that action at this time.
0 commit comments