Ollama’s format:json constrains sampling — it does not promise you parseable JSON
A reasoning model can return an empty response under format:json; a num_predict cap can cut JSON mid-string. think:false and a 20-line repair cover both.
A reasoning model can return an empty response under format:json; a num_predict cap can cut JSON mid-string. think:false and a 20-line repair cover both.