From eb283f531fd40dddea3c362fe9903490b73d9628 Mon Sep 17 00:00:00 2001 From: Nate Date: Mon, 9 Dec 2024 09:58:07 -0800 Subject: [PATCH] fix failing tests --- core/llm/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/llm/index.ts b/core/llm/index.ts index a4a6cabff..82e413ae8 100644 --- a/core/llm/index.ts +++ b/core/llm/index.ts @@ -210,7 +210,7 @@ export abstract class BaseLLM implements ILLM { this.openaiAdapter = constructLlmApi({ provider: this.providerName as any, - apiKey: this.apiKey, + apiKey: this.apiKey ?? "", apiBase: this.apiBase, requestOptions: this.requestOptions, });