summaryrefslogtreecommitdiffhomepage
path: root/packages/api/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/api/src')
-rw-r--r--packages/api/src/agent-manager.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/api/src/agent-manager.ts b/packages/api/src/agent-manager.ts
index e1d9bad..e4f284d 100644
--- a/packages/api/src/agent-manager.ts
+++ b/packages/api/src/agent-manager.ts
@@ -611,7 +611,10 @@ export class AgentManager {
}
// Notify the frontend about the new tab
- this.emit({ type: "tab-created", id: tabId, title }, tabId);
+ this.emit(
+ { type: "tab-created", id: tabId, title, keyId: tabAgent.keyId, modelId: tabAgent.modelId },
+ tabId,
+ );
// Start the child agent in the background
this.processMessage(