mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
fix(azure): coerce empty azureApiKey to undefined for env var fallback
This commit is contained in:
parent
f66fbff12f
commit
b331a1405e
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ export class AzureHandler extends BaseProvider implements SingleCompletionHandle
|
|||
// /deployments/{id}/{path} URL shape.
|
||||
this.provider = createAzure({
|
||||
baseURL: options.azureBaseUrl || undefined,
|
||||
apiKey: options.azureApiKey, // Optional — Azure supports managed identity / Entra ID auth
|
||||
apiKey: options.azureApiKey || undefined, // Optional — Azure supports managed identity / Entra ID auth
|
||||
apiVersion: options.azureApiVersion ?? azureOpenAiDefaultApiVersion,
|
||||
useDeploymentBasedUrls: true,
|
||||
headers: DEFAULT_HEADERS,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue