mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 12:44:18 +08:00
3e38889ccc
DeepSeek's Anthropic-compatible endpoint rejects requests where thinking.type=disabled coexists with effort parameters, returning HTTP 400. This breaks Claude Code 2.1.166+ sub-agents (Workflow/Dynamic Workflow), which hardcode thinking:disabled. Rather than overriding thinking:disabled, remove the conflicting effort parameters (output_config.effort / reasoning_effort) to respect Claude Code's intent — sub-agents don't need to display reasoning. Fixes: https://github.com/deepseek-ai/DeepSeek-V3/issues/1397 Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>