top | item 46447752 (no title) dmarwicke | 2 months ago does this handle the thinking blocks that claude puts in? those break json.parse constantly when it streams reasoning before the actual response discuss order hn newest prxtenses|2 months ago Yes! We added that in v1.2.0 with the extract moduleSupported 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!"
prxtenses|2 months ago Yes! We added that in v1.2.0 with the extract moduleSupported 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!"
prxtenses|2 months ago
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!"