"stream": true to supported JSON requests. Chat Completions and Responses generally return Server-Sent Events. Read each data: record and handle the protocol’s terminal event.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Receive model output incrementally
"stream": true to supported JSON requests. Chat Completions and Responses generally return Server-Sent Events. Read each data: record and handle the protocol’s terminal event.
{"model":"your-model","messages":[{"role":"user","content":"Hello"}],"stream":true}
