mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +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>
22 lines
447 B
TOML
22 lines
447 B
TOML
[package]
|
|
name = "litellm-auth-azure"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
|
|
[dependencies]
|
|
litellm-auth.workspace = true
|
|
|
|
moka.workspace = true
|
|
serde_json.workspace = true
|
|
sha2.workspace = true
|
|
strum.workspace = true
|
|
url.workspace = true
|
|
|
|
azure_core = "1.0.0"
|
|
azure_identity = { version = "1.0.0", features = ["tokio"] }
|
|
|
|
[dev-dependencies]
|
|
rstest.workspace = true
|
|
tokio.workspace = true
|