feat(config): use uppercase keywords
This commit is contained in:
parent
8e645b73c2
commit
b175dd32f4
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ interface Config {
|
|||
OPENAI: string;
|
||||
GROQ: string;
|
||||
ANTHROPIC: string;
|
||||
Gemini: string;
|
||||
GEMINI: string;
|
||||
};
|
||||
API_ENDPOINTS: {
|
||||
SEARXNG: string;
|
||||
|
@ -44,7 +44,7 @@ export const getGroqApiKey = () => loadConfig().API_KEYS.GROQ;
|
|||
|
||||
export const getAnthropicApiKey = () => loadConfig().API_KEYS.ANTHROPIC;
|
||||
|
||||
export const getGeminiApiKey = () => loadConfig().API_KEYS.Gemini;
|
||||
export const getGeminiApiKey = () => loadConfig().API_KEYS.GEMINI;
|
||||
|
||||
export const getSearxngApiEndpoint = () =>
|
||||
process.env.SEARXNG_API_URL || loadConfig().API_ENDPOINTS.SEARXNG;
|
||||
|
|
Loading…
Add table
Reference in a new issue