🔧 fix: Include apiKey in llmConfig for Azure OpenAI Responses API

This commit is contained in:
Danny Avila 2025-07-02 13:12:05 -04:00
parent 543281da6c
commit 9c70d1db96
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956

View file

@ -135,6 +135,7 @@ export function getOpenAIConfig(
delete llmConfig.azureOpenAIApiVersion;
delete llmConfig.azureOpenAIBasePath;
delete llmConfig.azureOpenAIApiKey;
llmConfig.apiKey = apiKey;
configOptions.defaultHeaders = {
...configOptions.defaultHeaders,