feat(kimi): add support for explicit disabled thinking and reasoning effort handling
This commit is contained in:
Luis Pater
2026-02-28 05:29:07 +08:00
parent 8bde8c37c0
commit 8599b1560e
3 changed files with 128 additions and 18 deletions

View File

@@ -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":