Simplify ChatModel initialization (#248655)

* Simplify ChatViewPane init slightly

* Simplify ChatModel initialization more
This commit is contained in:
Rob Lourens
2025-05-11 16:51:06 -07:00
committed by GitHub
parent aeddbbb7c2
commit c6baa8f4ad
11 changed files with 24 additions and 211 deletions

View File

@@ -434,8 +434,6 @@ export class InlineChatController1 implements IEditorContribution {
return State.CANCEL;
}
await session.chatModel.waitForInitialization();
// create a new strategy
this._strategy = this._instaService.createInstance(LiveStrategy, session, this._editor, this._ui.value, session.headless);