fix handoff system prompt reset

This commit is contained in:
can1357
2026-03-09 15:52:34 +01:00
parent adce19b3ae
commit d74cd0de5c
2 changed files with 97 additions and 0 deletions
@@ -3243,6 +3243,7 @@ export class AgentSession {
}
this.#promptInFlightCount++;
try {
this.agent.setSystemPrompt(this.#baseSystemPrompt);
await this.#promptAgentWithIdleRetry([
{
role: "developer",