Setting theDocumentation Index
Fetch the complete documentation index at: https://wb-21fd5541-update-reference-docs-34.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
stream option to true returns the model’s response incrementally as a stream of chunks, so you can display results as they arrive instead of waiting for the entire response. This is helpful when models take time to generate output.
All hosted models support streaming output. We recommend streaming for reasoning models, since non-streaming requests can time out if the model takes a long time to start producing output.
The following examples enable streaming for a chat completion request:
- Python
- Bash