fix(deepseek): forward response_format to OpenAI-compatible API (#4635)

This commit is contained in:
Rakhee Singh
2026-03-31 18:06:53 +05:30
committed by GitHub
parent af19495f66
commit 93bd4e248c
2 changed files with 46 additions and 0 deletions
+2
View File
@@ -99,6 +99,8 @@ class DeepSeekLLM(LLMBase):
}
)
if response_format:
params["response_format"] = response_format
if tools:
params["tools"] = tools
params["tool_choice"] = tool_choice