Add session export to HTML, improve tool error handling, and enhance RPC mode documentation

This commit is contained in:
Mario Zechner 2025-11-12 21:55:10 +01:00
parent 68092ccf01
commit 9e3e319f1a
9 changed files with 638 additions and 63 deletions

View file

@ -166,9 +166,6 @@ export class Agent {
this._state.streamMessage = null;
this._state.error = undefined;
// Emit agent_start
this.emit({ type: "agent_start" });
const reasoning =
this._state.thinkingLevel === "off"
? undefined
@ -291,9 +288,6 @@ export class Agent {
this._state.streamMessage = null;
this._state.pendingToolCalls = new Set<string>();
this.abortController = undefined;
// Emit agent_end with all generated messages
this.emit({ type: "agent_end", messages: generatedMessages });
}
}