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
|
|
@ -38,6 +38,46 @@ export default function UnknownIcon({
|
|||
alt="Groq Cloud Icon"
|
||||
/>
|
||||
);
|
||||
} else if (currentEndpoint === KnownEndpoints.anyscale) {
|
||||
return (
|
||||
<img
|
||||
className={context === 'landing' ? '' : className}
|
||||
src="/assets/anyscale.png"
|
||||
alt="Anyscale Icon"
|
||||
/>
|
||||
);
|
||||
} else if (currentEndpoint === KnownEndpoints.fireworks) {
|
||||
return (
|
||||
<img
|
||||
className={context === 'landing' ? '' : className}
|
||||
src="/assets/fireworks.png"
|
||||
alt="Fireworks Icon"
|
||||
/>
|
||||
);
|
||||
} else if (currentEndpoint === KnownEndpoints.ollama) {
|
||||
return (
|
||||
<img
|
||||
className={context === 'landing' ? '' : className}
|
||||
src="/assets/ollama.png"
|
||||
alt="Ollama Icon"
|
||||
/>
|
||||
);
|
||||
} else if (currentEndpoint === KnownEndpoints.perplexity) {
|
||||
return (
|
||||
<img
|
||||
className={context === 'landing' ? '' : className}
|
||||
src="/assets/perplexity.png"
|
||||
alt="Perplexity Icon"
|
||||
/>
|
||||
);
|
||||
} else if (currentEndpoint === KnownEndpoints['together.ai']) {
|
||||
return (
|
||||
<img
|
||||
className={context === 'landing' ? '' : className}
|
||||
src="/assets/together.png"
|
||||
alt="together.ai Icon"
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
return <CustomMinimalIcon className={className} />;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue