mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2025-12-26 06:28:56 +08:00
fix: mark openaiClient as optional in LLMClient
Co-Authored-By: Han Xiao <han.xiao@jina.ai>
This commit is contained in:
parent
c81eb0e32a
commit
026c439210
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user