mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(router.py): bump azure default api version
Allows 'tool_choice' to be passed to azure
This commit is contained in:
parent
3fdfb8470d
commit
b17fe3e0d2
3 changed files with 4 additions and 2 deletions
|
@ -3437,7 +3437,7 @@ class Router:
|
|||
if azure_ad_token.startswith("oidc/"):
|
||||
azure_ad_token = get_azure_ad_token_from_oidc(azure_ad_token)
|
||||
if api_version is None:
|
||||
api_version = "2023-07-01-preview"
|
||||
api_version = litellm.AZURE_DEFAULT_API_VERSION
|
||||
|
||||
if "gateway.ai.cloudflare.com" in api_base:
|
||||
if not api_base.endswith("/"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue