diff --git a/packages/coding-agent/src/session/agent-session.ts b/packages/coding-agent/src/session/agent-session.ts index 903718616..27865e34c 100644 --- a/packages/coding-agent/src/session/agent-session.ts +++ b/packages/coding-agent/src/session/agent-session.ts @@ -7199,7 +7199,7 @@ export class AgentSession { if (switchingToDifferentSession) { await this.#memory.resetContextForNewTranscript(); } - if (switchingToDifferentSession) { + if (switchingToDifferentSession || didReloadConversationChange) { this.#clearSessionScopedToolState(); } this.#reconnectToAgent();