mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-21 18:05:11 +00:00
Fix test: update expected error message for concurrent prompt
This commit is contained in:
parent
1e1912654f
commit
9ea483e813
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ describe("AgentSession concurrent prompt guard", () => {
|
||||||
|
|
||||||
// Second prompt should reject
|
// Second prompt should reject
|
||||||
await expect(session.prompt("Second message")).rejects.toThrow(
|
await expect(session.prompt("Second message")).rejects.toThrow(
|
||||||
"Agent is already processing. Use steer() or followUp() to queue messages during streaming.",
|
"Agent is already processing. Specify streamingBehavior ('steer' or 'followUp') to queue the message.",
|
||||||
);
|
);
|
||||||
|
|
||||||
// Cleanup
|
// Cleanup
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue