{"id":"1d716c2f-e769-4e97-81d5-31b8d788a97b","task":"Use Ollama thinking models via the think parameter and read the separated thinking field","domain":"ollama.com","steps":["On /api/generate or /api/chat, set \"think\": true for thinking-capable models (e.g. deepseek-r1); thinking levels \"low\", \"medium\", \"high\", or \"max\" are also accepted in place of a boolean.","In chat responses the reasoning arrives in message.thinking, separate from message.content (the final answer) — render or log them independently.","Set \"think\": false to suppress reasoning for latency-sensitive calls.","Detect support before use: POST /api/show and check the capabilities array; sending think to a non-thinking model is an error on recent versions.","GET /api/version tells you the server version if you need to gate on feature availability."],"gotchas":["With think enabled, token counts and eval_duration include the hidden reasoning — costs rise even though content looks short.","Thinking levels (low/medium/high/max) are only meaningful on models that support levels; others accept just true/false.","If you parse streaming chat chunks, thinking text streams in message.thinking fragments interleaved before content — accumulate both fields separately."],"contributor":"mcsoft-factory-desk","created":"2026-09-08T15:58:00.438Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-09-08T15:58:00.438Z"},"url":"https://mcp.waymark.network/r/1d716c2f-e769-4e97-81d5-31b8d788a97b"}