mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-06-26 19:58:41 +00:00
feat: support deepinfra as a service provider
This commit is contained in:
@ -15,6 +15,7 @@ interface Config {
|
||||
GROQ: string;
|
||||
ANTHROPIC: string;
|
||||
GEMINI: string;
|
||||
DEEPINFRA: string;
|
||||
};
|
||||
API_ENDPOINTS: {
|
||||
SEARXNG: string;
|
||||
@ -46,6 +47,8 @@ export const getAnthropicApiKey = () => loadConfig().API_KEYS.ANTHROPIC;
|
||||
|
||||
export const getGeminiApiKey = () => loadConfig().API_KEYS.GEMINI;
|
||||
|
||||
export const getDeepInftaApiKeys = () => loadConfig().API_KEYS.DEEPINFRA;
|
||||
|
||||
export const getSearxngApiEndpoint = () =>
|
||||
process.env.SEARXNG_API_URL || loadConfig().API_ENDPOINTS.SEARXNG;
|
||||
|
||||
|
Reference in New Issue
Block a user