Skip to content

Commit

Permalink
📦 NEW: config env optional
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadawais committed Oct 9, 2024
1 parent 13582f8 commit f7f6375
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions packages/baseai/types/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
}

0 comments on commit f7f6375

Please sign in to comment.