on main help sign in
fix: make thinking on/off toggle work for deepseek provider

* Ref: https://github.com/charmbracelet/catwalk/pull/271 * Docs: https://api-docs.deepseek.com/guides/thinking_mode

commitea847f28903fdfccec844f4be0522d7f9bffffd3 authorAndrey Nering <andreynering@users.noreply.github.com> dateWed 13 May 2026, 10:04 (5 months ago) parentb0c3eb9
1 file changed+1−1
internal/agent/coordinator.go+1−1
internal/agent/coordinator.go+1−1
@@ -364,7 +364,7 @@ func getProviderOptions(model Model, providerCfg config.ProviderConfig) fantasy.
364364 extraBody["chat_template_kwargs"] = map[string]any{
365365 "thinking": model.ModelCfg.Think,
366366 }
367− case string(catwalk.InferenceProviderZAI):
367+ case string(catwalk.InferenceProviderZAI), string(catwalk.InferenceProviderDeepSeek):
368368 if model.ModelCfg.Think {
369369 extraBody["thinking"] = map[string]any{
370370 "type": "enabled",