mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 17:00:59 +00:00
Agent.prompt() and Agent.continue() now throw if called while already streaming, preventing race conditions and corrupted state. Use queueMessage() to queue messages during streaming, or await the previous call. AgentSession.prompt() has the same guard with a message directing users to queueMessage(). Ref #403 |
||
|---|---|---|
| .. | ||
| utils | ||
| agent-loop.test.ts | ||
| agent.test.ts | ||
| e2e.test.ts | ||