mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
Cleanup and prepare inline chat for UI updates (#215420)
* 💄
* debt - remove `trackEdits` because we have fixup
debt - don't compute diff twice
* allow to pass/use all chat widget options when creating an inline chat widget
This commit is contained in:
@@ -80,7 +80,7 @@ export class StartSessionAction extends EditorAction2 {
|
||||
|
||||
let options: InlineChatRunOptions | undefined;
|
||||
const arg = _args[0];
|
||||
if (arg && InlineChatRunOptions.isInteractiveEditorOptions(arg)) {
|
||||
if (arg && InlineChatRunOptions.isInlineChatRunOptions(arg)) {
|
||||
options = arg;
|
||||
}
|
||||
InlineChatController.get(editor)?.run({ ...options });
|
||||
|
||||
Reference in New Issue
Block a user