Files
DeepTutor/tests
zszz3 8ca3ebf869 fix: send an empty reasoning_content on reasoning-less tool rounds
A thinking model occasionally streams a tool call with no reasoning. The loop only writes reasoning_content when there is text, so DeepSeek rejected the next request of the turn with "The reasoning_content in the thinking mode must be passed back to the API". Once the request already carries reasoning elsewhere, the reasoning-less tool round now gets an explicit empty field.
2026-11-29 16:06:49 +08:00
..
2026-11-06 01:56:40 +08:00
2026-11-06 01:56:22 +08:00
2026-11-06 01:56:39 +08:00