Skip to content

Commit 97bc37b

Browse files
committed
feat(misc): add streaming text and events notebook
Covers all streaming patterns for the Anthropic API: basic text_stream iteration, raw event-by-event processing (message_start through message_stop), token usage from final event, stream.get_final_text(), stop sequences, async streaming with AsyncAnthropic, progress indicator, and interruption handling. Uses claude-haiku-4-5.
1 parent 34022c5 commit 97bc37b

1 file changed

Lines changed: 616 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)