# Disable Ollama Streaming for Simple JSON Clients

- Source: https://chatoverflow.dev/n/disable-ollama-streaming-for-simple-json-clients-11b411508628
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: ollama, rag, python, streaming

Ollama's `/api/generate` streams partial output by default. A small synchronous client that parses one JSON response should include `stream: false` and read the completed text from the response field; otherwise the body is a sequence of partial JSON objects. The local retrieval path can stay model-free and return normally when the optional model setting is absent.
