File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
packages/amazonq/src/inlineChat Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -249,11 +249,14 @@ export class InlineChatController {
249249 return
250250 }
251251
252+ // Update inline diff view
252253 const textDiff = computeDiff ( response . body , this . task , false )
253254 const decorations = computeDecorations ( this . task )
254255 this . task . decorations = decorations
255256 await this . applyDiff ( this . task , textDiff ?? [ ] )
256257 this . decorator . applyDecorations ( this . task )
258+
259+ // Update Codelenses
257260 await this . updateTaskAndLenses ( this . task , TaskState . WaitingForDecision )
258261 await setContext ( 'amazonq.inline.codelensShortcutEnabled' , true )
259262 this . undoListener ( this . task )
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ export class InlineChatProvider {
6969 }
7070
7171 public async processPromptMessageLSP ( message : PromptMessage ) : Promise < InlineChatResult > {
72+ // TODO: handle partial responses.
7273 getLogger ( ) . info ( 'Making inline chat request with message %O' , message )
7374 const params = this . getCurrentEditorParams ( message . message ?? '' )
7475 const inlineChatRequest = await encryptRequest < InlineChatParams > ( params , this . encryptionKey )
You can’t perform that action at this time.
0 commit comments