chiprook
← Software
SoftwareOctober 5, 2026, 09:34

Ollama bug: JSON schema skipped when thinking model answers without thinking

Since Ollama 0.34.4, format schemas are applied to thinking models as a single grammar that leaves the answer unconstrained if the model skips its thinking block. On gemma4:e2b all 8 non-thinking replies came back as bare text (391, Paris) with HTTP 200. The open fix ollama/ollama#18783 made the model think first in all 16 replayed requests.

Ollama bug: JSON schema skipped when thinking model answers without thinking
#Ollama#Gemma
Read next
Software

Ollama 0.35 re-sorts JSON schema keys alphabetically on native chat path

AI

GLM 5.3 API Cost: Always Thinking, 2.5x Cheaper per Answer Than 5.2

Software

Google's Custom Search JSON API shuts down January 1, 2027

Software

Xcode 27.2 adds JSON-based .xcproj project format