Skip to content

CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.

fix(catalog): correct deepseek-anthropic effort path + temperature range

xf gong90095e49a1ef
diff --git a/cubepi/providers/catalog/data/providers.yaml b/cubepi/providers/catalog/data/providers.yaml
index c451971..76863da 100644
--- a/cubepi/providers/catalog/data/providers.yaml
+++ b/cubepi/providers/catalog/data/providers.yaml
@@ -118,11 +118,16 @@
reasoning_off_payload: { thinking: { type: disabled } }
reasoning_on_payload: { thinking: { type: enabled } }
reasoning_level:
- path: thinking.budget_tokens
- kind: int_budget
- # Mirror Anthropic's budgets (same ThinkingBudgets contract).
- level_budgets: { "off": 0, minimal: 1024, low: 2048, medium: 8192, high: 16384, xhigh: 16384 }
- temperature: { mode: free, min: 0.0, max: 1.0, default: 1.0 }
+ # DeepSeek's Anthropic-shape endpoint ignores `thinking.budget_tokens` and
+ # routes effort through `output_config.effort` instead.
+ # See https://api-docs.deepseek.com/guides/anthropic_api and
+ # https://api-docs.deepseek.com/guides/thinking_mode
+ path: output_config.effort
+ kind: effort
+ level_to_effort: { minimal: minimal, low: low, medium: medium, high: high, xhigh: high }
+ # DeepSeek's Anthropic-shape endpoint accepts temperature in [0.0, 2.0]
+ # (broader than vanilla Anthropic's [0.0, 1.0]).
+ temperature: { mode: free, min: 0.0, max: 2.0, default: 1.0 }
default_models:
- { model_id: deepseek-v4-pro, display_name: DeepSeek V4 Pro, context_window: 64000, max_tokens: 12000, input_modalities: [text], reasoning: true }