🤖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>
BIN
client/public/assets/anyscale.png
Normal file
|
After Width: | Height: | Size: 69 KiB |
BIN
client/public/assets/fireworks.png
Normal file
|
After Width: | Height: | Size: 218 KiB |
|
Before Width: | Height: | Size: 4 KiB After Width: | Height: | Size: 23 KiB |
BIN
client/public/assets/ollama.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
client/public/assets/perplexity.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
client/public/assets/together.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
|
|
@ -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} />;
|
||||
|
|
|
|||