mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-10-29 10:06:09 +00:00
The openai-compat consolidation dropped the comment warning that DeepSeek needs the legacy top-level "reasoning_effort" string form; without it a maintainer could add openai.WithModernReasoningFormat() to the shared opts and silently break DeepSeek thinking mode. Restore it at the shared opts choke point. Also fix two stale pointers: glm/qwen config.yml cited WithPreserveReasoningContent() "in glm.go/qwen.go", but it moved to openaicompat.go during that same consolidation. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>