From f7f637573ca8d326bccdeef6c86dd8af43cc6860 Mon Sep 17 00:00:00 2001 From: Ahmad Awais Date: Wed, 9 Oct 2024 08:14:52 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20NEW:=20config=20env=20optional?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/baseai/types/config.ts | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/packages/baseai/types/config.ts b/packages/baseai/types/config.ts index ff6b39d6..6de39d54 100644 --- a/packages/baseai/types/config.ts +++ b/packages/baseai/types/config.ts @@ -29,16 +29,17 @@ export interface BaseAIConfig { log: LoggerConfig; memory: MemoryConfig; envFilePath: string; - env: { - NODE_ENV: string; - OPENAI_API_KEY: string; - ANTHROPIC_API_KEY: string; - COHERE_API_KEY: string; - FIREWORKS_API_KEY: string; - GOOGLE_API_KEY: string; - GROQ_API_KEY: string; - MISTRAL_API_KEY: string; - PERPLEXITY_API_KEY: string; - TOGETHER_API_KEY: string; + env?: { + NODE_ENV?: string; + LANGBASE_API_KEY?: string; + OPENAI_API_KEY?: string; + ANTHROPIC_API_KEY?: string; + COHERE_API_KEY?: string; + FIREWORKS_API_KEY?: string; + GOOGLE_API_KEY?: string; + GROQ_API_KEY?: string; + MISTRAL_API_KEY?: string; + PERPLEXITY_API_KEY?: string; + TOGETHER_API_KEY?: string; }; }