mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
🔧 fix: Include apiKey in llmConfig for Azure OpenAI Responses API
This commit is contained in:
parent
543281da6c
commit
9c70d1db96
1 changed files with 1 additions and 0 deletions
|
|
@ -135,6 +135,7 @@ export function getOpenAIConfig(
|
||||||
delete llmConfig.azureOpenAIApiVersion;
|
delete llmConfig.azureOpenAIApiVersion;
|
||||||
delete llmConfig.azureOpenAIBasePath;
|
delete llmConfig.azureOpenAIBasePath;
|
||||||
delete llmConfig.azureOpenAIApiKey;
|
delete llmConfig.azureOpenAIApiKey;
|
||||||
|
llmConfig.apiKey = apiKey;
|
||||||
|
|
||||||
configOptions.defaultHeaders = {
|
configOptions.defaultHeaders = {
|
||||||
...configOptions.defaultHeaders,
|
...configOptions.defaultHeaders,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue