mirror of
https://github.com/router-for-me/CLIProxyAPIPlus.git
synced 2026-04-27 03:55:47 +00:00
Fixed: #1716
feat(kimi): add support for explicit disabled thinking and reasoning effort handling
This commit is contained in:
@@ -37,6 +37,11 @@ func StripThinkingConfig(body []byte, provider string) []byte {
|
||||
paths = []string{"request.generationConfig.thinkingConfig"}
|
||||
case "openai":
|
||||
paths = []string{"reasoning_effort"}
|
||||
case "kimi":
|
||||
paths = []string{
|
||||
"reasoning_effort",
|
||||
"thinking",
|
||||
}
|
||||
case "codex":
|
||||
paths = []string{"reasoning.effort"}
|
||||
case "iflow":
|
||||
|
||||
Reference in New Issue
Block a user