Commit 8982b27
test(tutorials): wait for state init before asserting in multiturn streaming test
The streaming test was querying client.states.list immediately after
create_task returned, before the agent's on_task_create handler ran on the
server. The sibling test_send_event_and_poll handles this with a 1s sleep;
the streaming variant was missing it and was passing by luck on faster
runners.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ac17703 commit 8982b27
1 file changed
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
| |||
0 commit comments