fix(voice): sync talk mode chat events
This commit is contained in:
1 parent
05efc3eace
commit
b5ae2ccc3c
6 files changed
+210
-5
No files matched your search
@@ -3064,6 +3064,13 @@ export async function startGatewayServer(
|
||||
await saveSessionStore(storePath, store);
|
||||
}
|
||||
|
||||
// Ensure chat UI clients refresh when this run completes (even though it wasn't started via chat.send).
|
||||
// This maps agent bus events (keyed by sessionId) to chat events (keyed by clientRunId).
|
||||
chatRunSessions.set(sessionId, {
|
||||
sessionKey,
|
||||
clientRunId: `voice-${randomUUID()}`,
|
||||
});
|
||||
|
||||
void agentCommand(
|
||||
{
|
||||
message: text,
|
||||
|
||||
Reference in new issue
Block a user