fix(coding-agent): reload global settings fixes #1241

This commit is contained in:
Mario Zechner 2026-02-04 14:14:40 +01:00
parent 52638e1c4e
commit fcfbc82ec2
5 changed files with 83 additions and 0 deletions

View file

@ -1982,6 +1982,7 @@ export class AgentSession {
async reload(): Promise<void> {
const previousFlagValues = this._extensionRunner?.getFlagValues();
await this._extensionRunner?.emit({ type: "session_shutdown" });
this.settingsManager.reload();
resetApiProviders();
await this._resourceLoader.reload();
this._buildRuntime({