mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-06 05:51:24 +08:00
DeepSeek models (v4-flash, reasoner, etc.) return the actual response in the reasoning_content field while leaving content empty when thinking mode is enabled. The _parse() method only fell back to m.reasoning (DashScope-style), causing "LLM returned empty response" errors. Also fix idea_agent to handle LLM responses that are JSON arrays instead of objects with an "ideas" key.