fix(session): reset announced mounts after changed reload

(cherry picked from commit f7ec56c1c8b73476322904666d560492a6027ef7)
This commit is contained in:
can1357
2026-07-29 22:47:42 +02:00
parent a73cd40c8f
commit d5457eba24
@@ -7199,7 +7199,7 @@ export class AgentSession {
if (switchingToDifferentSession) {
await this.#memory.resetContextForNewTranscript();
}
if (switchingToDifferentSession) {
if (switchingToDifferentSession || didReloadConversationChange) {
this.#clearSessionScopedToolState();
}
this.#reconnectToAgent();