fix(azure_openai): forward response_format to Azure OpenAI API (#4689)

This commit is contained in:
Rakhee Singh
2026-04-08 19:22:02 +05:30
committed by GitHub
parent 1ad8a59b0c
commit 3ffea554bc
2 changed files with 46 additions and 0 deletions
+2
View File
@@ -134,6 +134,8 @@ class AzureOpenAILLM(LLMBase):
"messages": messages,
})
if response_format:
params["response_format"] = response_format
if tools:
params["tools"] = tools
params["tool_choice"] = tool_choice