This commit is contained in:
xunbu
2025-09-02 13:24:57 +08:00
parent fe23787f56
commit 82ee7f32ed
2 changed files with 96 additions and 85 deletions

View File

@@ -79,8 +79,19 @@ class Agent:
"open.bigmodel.cn": ("thinking", {"type": "enabled"}, {"type": "disabled"}), "open.bigmodel.cn": ("thinking", {"type": "enabled"}, {"type": "disabled"}),
"dashscope.aliyuncs.com": ("enable_thinking ", True, False), "dashscope.aliyuncs.com": ("enable_thinking ", True, False),
"ark.cn-beijing.volces.com": ("thinking", {"type": "enabled"}, {"type": "disabled"}), "ark.cn-beijing.volces.com": ("thinking", {"type": "enabled"}, {"type": "disabled"}),
"generativelanguage.googleapis.com": ("generationConfig", {"thinkingConfig": {"thinkingBudget": -1}}, "generativelanguage.googleapis.com": ("extra_body",
{"thinkingConfig": {"thinkingBudget": 0}}), {"google": {
"thinking_config": {
"thinking_budget": -1,
"include_thoughts": True
}
}
}, {"google": {
"thinking_config": {
"thinking_budget": 0,
"include_thoughts": False
}
}}),
"api.siliconflow.cn": ("enable_thinking", True, False) "api.siliconflow.cn": ("enable_thinking", True, False)
} }

File diff suppressed because one or more lines are too long