> ## Documentation Index
> Fetch the complete documentation index at: https://docs.viviai.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# How do I enable streaming?

* **OpenAI Chat:** Set `stream: true` in the request body.
* **Anthropic:** Set `stream: true` in the request body.
* **Gemini:** Use `streamGenerateContent?alt=sse`.

Each protocol has a different event structure. Use the appropriate parser for your protocol.

Complete examples: [OpenAI Chat](https://docs.viviai.cc/en/openai-chat.md) · [Gemini](https://docs.viviai.cc/en/gemini.md) · [Anthropic](https://docs.viviai.cc/en/anthropic.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.