Feature request · Integrations · Blocks work
Option to strip think blocks from DeepSeek responses so JSON parses
1 source thread · first seen 2025-02
Summary
With DeepSeek through Ollama in an AI Agent, the think block makes valid JSON output impossible to parse. The user wants an option to remove it.
- Affects
- Users running reasoning models locally
Evidence
Excerpts are copied word for word from the source; follow the link to read it in full.
“There needs to be an option to remove everything in there, and return only the valid json”