Ollama returns 200 and loads a 4096 context when num_ctx sits outside « options »
Ollama’s /api/generate drops num_ctx and num_predict placed at the JSON root: HTTP 200, plausible answer, default 4096 context. ollama ps shows the truth.
Ollama’s /api/generate drops num_ctx and num_predict placed at the JSON root: HTTP 200, plausible answer, default 4096 context. ollama ps shows the truth.
JSON.parse_string returns saved ints as floats, and Array.has(22) is false against 22.0 even though 22.0 == 22 is true. Coerce with int() at load time.
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.