Ollama fails to return valid structured output
4 posts from 3 people3d activeFading, +0 this week
Posts per day
The posts behind it
issue: edit_image returns 404 for images uploaded with Open Terminal Chat Uploads set to Filesystem
### Before Submitting - [x] I searched open and closed issues and discussions for an existing report. - [ ] I reproduced this bug on the latest release AND on the current `dev` branch, right before submitting this report. - [x] I understand that maintainers want a well-written...
Gemma4: JSON schema format is not enforced when think:true answers directly without reasoning
...| 3/3 schema-valid | All 12 requests returned HTTP 200 with `done_reason:"stop"`. The failing `think:true` responses completed after 4 evaluated tokens, so the failure is not caused by reaching `num_predict`. ### Expected behavior When a JSON schema is supplied through `format`,...
/api/generate accepts trailing non-JSON data after a valid JSON request body
### What is the issue? ### Summary On Ollama 0.35.1, `POST /api/generate` accepts a complete JSON request object followed by non-JSON data. The request uses `Content-Type: application/json`, but the complete request body is not a valid JSON document. For example, appending:...
Ollama: think=False is coerced to None (falls back to self.thinking) in chat/stream_chat/achat/astream_chat
...4) gets the instance default instead - the opposite of what was asked - and there is no way to disable thinking per call when `self.thinking` is truthy or `None` (Ollama then decides for itself). Expected: The fix is four lines, one per method. With it the request body carries...
Companies and products named
About this problem
Evidence
4 posts from 3 people in 3 places, about 1 a week over 49 days. Mostly on ollama/ollama, run-llama/llama_index, open-webui/open-webui. Tools named alongside: GitHub, LlamaIndex, Docker, Open WebUI.
Frustration Frustration 2 of 3· Seen on GitHub issues
How it was grouped
Posts that state a pain and match the "structured-output" rule about Ollama. First post Sep 6, 2026, latest Oct 24, 2026. Corroborated: 3 or more posts from 2 or more people or places. Method
The same problem elsewhere
Models fail to return valid structured output
19 posts from 17 people on GitHub issues.
Claude fails to return valid structured output
15 posts from 12 people on GitHub issues.
OpenAI fails to return valid structured output
12 posts from 12 people on GitHub issues, Hacker News.
Anthropic fails to return valid structured output
6 posts from 6 people on GitHub issues.
Codex fails to return valid structured output
6 posts from 3 people on GitHub issues.
LangChain fails to return valid structured output
5 posts from 4 people on GitHub issues.
LlamaIndex fails to return valid structured output
5 posts from 5 people on GitHub issues.
Model Context Protocol fails to return valid structured output
5 posts from 5 people on GitHub issues, Reddit.
vLLM fails to return valid structured output
5 posts from 5 people on GitHub issues.
Gemini fails to return valid structured output
4 posts from 4 people on GitHub issues, Reddit.
Mistral fails to return valid structured output
3 posts from 3 people on GitHub issues.
GitHub fails to return valid structured output
3 posts from 3 people on GitHub issues.
Other Ollama problems
Ollama users keep filing bugs
Top post: "Ollama does not work even after a fresh install", one of 79 posts from 47 people on GitHub issues, Reddit, Community forums.
Running Ollama locally hits memory and speed limits
48 posts from 46 people on GitHub issues, Reddit.
Ollama upgrades break working setups
40 posts from 20 people on GitHub issues.
Ollama error messages are cryptic
13 posts from 7 people on GitHub issues, Reddit.
Trouble with Ollama empty
Top post: "Ollama photo/label estimation returns empty JSON with reasoning models (gemma4, qwen3.6), request should send", one of 8 posts from 6 people on GitHub issues.
Ollama runs out of context on real work
7 posts from 7 people on GitHub issues, Reddit.
Serving models on Ollama is harder than it should be
6 posts from 6 people on GitHub issues, Reddit.
Trouble with Ollama mode
Top post: "auto-playback should read responses sentence by sentence while streaming, like call mode", one of 6 posts from 4 people on GitHub issues.
Trouble with Ollama pull
Top post: "Failed to pull `embeddinggemma-2:740m` on linux", one of 6 posts from 6 people on GitHub issues.
Trouble with Ollama crashes
Top post: "Vulkan backend: llama-server crashes (NTSTATUS 0xe06d7363) at model load on AMD Renoir iGPU (Ryzen 4700U,", one of 5 posts from 5 people on GitHub issues.
Trouble with Ollama windows
Top post: "Windows 11 26200, Ollama 0.34.1, tray app shows icon but never starts server; manual ollama serve works", one of 4 posts from 3 people on GitHub issues.
Trouble with Ollama local
Top post: "issue: MinerU local engine gets 401 from a MinerU 4.x server started with --api-key, even with the API key set", one of 4 posts from 4 people on GitHub issues.
History