fix: update currentSequenceModel when modelChanged (#17051)

This commit is contained in:
Adam Weidman
2026-01-20 01:25:15 -05:00
committed by GitHub
parent 4920ad2694
commit e34f0b4a98
7 changed files with 77 additions and 36 deletions
+2 -3
View File
@@ -2037,9 +2037,8 @@ export class Config {
*/
async dispose(): Promise<void> {
coreEvents.off(CoreEvent.AgentsRefreshed, this.onAgentsRefreshed);
if (this.agentRegistry) {
this.agentRegistry.dispose();
}
this.agentRegistry?.dispose();
this.geminiClient?.dispose();
if (this.mcpClientManager) {
await this.mcpClientManager.stop();
}