← gallery

Streaming

Render tokens as they arrive; when a tool_use block appears mid-stream, run it and resume.

Section: advanced-techniques · scene id streaming · tutorial 03-advanced-techniques/02-streaming