3 ms·
does this handle the thinking blocks that claude puts in? those break json.parse constantly when it streams reasoning before the actual response
by dmarwicke 11mo ago
does this handle the thinking blocks that claude puts in? those break json.parse constantly when it streams reasoning before the actual response
- prxtenses 11mo agoYes! We added that in v1.2.0 with the extract module Supported thinking block patterns: <thinking>...</thinking> (Claude) | <thought>...</thought> (DeepSeek) | <reasoning>...</reasoning> | <scratchpad>...</scratchpad> | Also handles markdown code blocks and common LLM prose like "Here's the JSON:" or "Hope this helps!"