mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 04:29:27 +08:00
* fix: ignore code fences inside <think> reasoning when parsing JSON A fence drafted inside a <think> block was picked as the payload before the reasoning was stripped, so the real JSON after the block was lost. * fix: decode fence-in-string JSON from the chosen block's offset The fence-in-string fallback searched the response for the truncated block text, which can also appear inside a <think> draft, so the draft was decoded instead of the payload. Keep the chosen fence match's start offset and decode from there, allowing raw newlines in string values.