fix: Make Azure OpenAI API key optional to match documentation (#6215)

Signed-off-by: albina-popova <97168987+albina-popova@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
albina-popova
2026-01-05 19:31:28 +01:00
committed by GitHub
parent cabbda3dbc
commit 4a08ad5c43
+1 -1
View File
@@ -125,7 +125,7 @@ impl Provider for AzureProvider {
ConfigKey::new("AZURE_OPENAI_ENDPOINT", true, false, None),
ConfigKey::new("AZURE_OPENAI_DEPLOYMENT_NAME", true, false, None),
ConfigKey::new("AZURE_OPENAI_API_VERSION", true, false, Some("2024-10-21")),
ConfigKey::new("AZURE_OPENAI_API_KEY", true, true, Some("")),
ConfigKey::new("AZURE_OPENAI_API_KEY", false, true, Some("")),
],
)
}