mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 10:50:14 +01:00
🤖feat: add multiple known endpoints (#1917)
* feat: add known endpoints * docs: add known endpoints * update ai_endpoints.md remove the groq icon from the example * Update ai_endpoints.md --------- Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
This commit is contained in:
parent
156abe2fca
commit
53ae2d7bfb
11 changed files with 250 additions and 8 deletions
|
|
@ -171,11 +171,16 @@ export const configSchema = z.object({
|
|||
|
||||
export type TCustomConfig = z.infer<typeof configSchema>;
|
||||
|
||||
export enum KnownEndpoints {
|
||||
mistral = 'mistral',
|
||||
openrouter = 'openrouter',
|
||||
groq = 'groq',
|
||||
}
|
||||
export const KnownEndpoints = {
|
||||
mistral: 'mistral',
|
||||
openrouter: 'openrouter',
|
||||
groq: 'groq',
|
||||
anyscale: 'anyscale',
|
||||
fireworks: 'fireworks',
|
||||
ollama: 'ollama',
|
||||
perplexity: 'perplexity',
|
||||
'together.ai': 'together.ai',
|
||||
} as const;
|
||||
|
||||
export const defaultEndpoints: EModelEndpoint[] = [
|
||||
EModelEndpoint.openAI,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue