Skip to content

Commit

Permalink
fix: only one stream chunk inline input render error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricbet committed Feb 8, 2025
1 parent 9391b86 commit 6a9adb4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -517,14 +517,14 @@ export class InlineInputController extends BaseAIMonacoEditorController {
}),
]);

chatResponse.listen();

const diffPreviewer = this.inlineDiffController.showPreviewerByStream(monacoEditor, {
crossSelection: decorationSelection,
chatResponse,
});

diffPreviewer.mount(inlineInputWidget);

chatResponse.listen();
}
} else {
decorationsCollection.clear();
Expand Down

0 comments on commit 6a9adb4

Please sign in to comment.