From 026c43921031bb81b8fe6340ed9d559adda4c635 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 5 Feb 2025 10:30:12 +0000 Subject: [PATCH] fix: mark openaiClient as optional in LLMClient Co-Authored-By: Han Xiao --- src/utils/llm-client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/llm-client.ts b/src/utils/llm-client.ts index 985640b..8438c26 100644 --- a/src/utils/llm-client.ts +++ b/src/utils/llm-client.ts @@ -13,7 +13,7 @@ interface LLMClientOptions { export class LLMClient { private geminiClient: GoogleGenerativeAI; - private openaiClient: OpenAI; + private openaiClient?: OpenAI; constructor() { this.geminiClient = new GoogleGenerativeAI(GEMINI_API_KEY);