mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-21 00:21:49 +00:00
Python resolves the Vertex project and location as call params, then the litellm.vertex_project / litellm.vertex_location globals, then env, and Azure AD token refresh from litellm.enable_azure_ad_token_refresh alone. Native OCR skipped the globals, so a config.yaml litellm_settings value silently fell through to the credential's project and us-central1, and a managed identity setup without an API key failed. The bridge now reads them through a provider_defaults settings group into OcrSettings, and VertexConfig / AzureAuthInputs slot them in at Python's precedence. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
23 lines
447 B
JSON
23 lines
447 B
JSON
{
|
|
"http_settings": [
|
|
"ssl_verify",
|
|
"ssl_certificate",
|
|
"ssl_security_level",
|
|
"ssl_ecdh_curve",
|
|
"force_ipv4",
|
|
"http2",
|
|
"aiohttp_trust_env",
|
|
"disable_aiohttp_trust_env",
|
|
"disable_aiohttp_transport",
|
|
"user_agent"
|
|
],
|
|
"url_policy": [
|
|
"user_url_validation",
|
|
"user_url_allowed_hosts"
|
|
],
|
|
"provider_defaults": [
|
|
"vertex_project",
|
|
"vertex_location",
|
|
"enable_azure_ad_token_refresh"
|
|
]
|
|
}
|