mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
fix: use _azure_detection_model in default Azure branch of get_supported_openai_params
Co-authored-by: Yassin Kortam <yassin@berri.ai>
This commit is contained in:
parent
89e07ee31f
commit
acba5537c8
1 changed files with 3 additions and 1 deletions
|
|
@ -154,7 +154,9 @@ def get_supported_openai_params( # noqa: PLR0915
|
|||
model=_azure_detection_model
|
||||
)
|
||||
else:
|
||||
return litellm.AzureOpenAIConfig().get_supported_openai_params(model=model)
|
||||
return litellm.AzureOpenAIConfig().get_supported_openai_params(
|
||||
model=_azure_detection_model
|
||||
)
|
||||
elif custom_llm_provider == "openrouter":
|
||||
return litellm.OpenrouterConfig().get_supported_openai_params(model=model)
|
||||
elif custom_llm_provider == "vercel_ai_gateway":
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue