From f2f285ca1efa2eb4e3f22f8fce04806e82b22d6c Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Mon, 12 May 2025 14:35:14 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=91=20fix:=20use=20`apiKey`=20instead?= =?UTF-8?q?=20of=20`openAIApiKey`=20in=20OpenAI-like=20Config=20(#7337)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/server/services/Endpoints/openAI/llm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/server/services/Endpoints/openAI/llm.js b/api/server/services/Endpoints/openAI/llm.js index fad9139a16..c1fd090b28 100644 --- a/api/server/services/Endpoints/openAI/llm.js +++ b/api/server/services/Endpoints/openAI/llm.js @@ -136,7 +136,7 @@ function getLLMConfig(apiKey, options = {}, endpoint = null) { Object.assign(llmConfig, azure); llmConfig.model = llmConfig.azureOpenAIApiDeploymentName; } else { - llmConfig.openAIApiKey = apiKey; + llmConfig.apiKey = apiKey; // Object.assign(llmConfig, { // configuration: { apiKey }, // });