Skip to content

Commit

Permalink
🥧 feat: APIpie support (#2524)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuegovic authored Apr 25, 2024
1 parent bde6bb0 commit ca9a0fe
Show file tree
Hide file tree
Showing 7 changed files with 271 additions and 171 deletions.
9 changes: 5 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,14 @@ PROXY=
#===================================#
# https://docs.librechat.ai/install/configuration/ai_endpoints.html

# GROQ_API_KEY=
# SHUTTLEAI_KEY=
# OPENROUTER_KEY=
# MISTRAL_API_KEY=
# ANYSCALE_API_KEY=
# APIPIE_API_KEY=
# FIREWORKS_API_KEY=
# GROQ_API_KEY=
# MISTRAL_API_KEY=
# OPENROUTER_KEY=
# PERPLEXITY_API_KEY=
# SHUTTLEAI_API_KEY=
# TOGETHERAI_API_KEY=

#============#
Expand Down
Binary file removed client/public/assets/ShuttleAI_Fibonacci.png
Binary file not shown.
Binary file added client/public/assets/apipie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 6 additions & 5 deletions client/src/components/Chat/Menus/Endpoints/UnknownIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@ import { CustomMinimalIcon } from '~/components/svg';
import { IconContext } from '~/common';

const knownEndpointAssets = {
[KnownEndpoints.mistral]: '/assets/mistral.png',
[KnownEndpoints.openrouter]: '/assets/openrouter.png',
[KnownEndpoints.groq]: '/assets/groq.png',
[KnownEndpoints.shuttleai]: '/assets/shuttleai.png',
[KnownEndpoints.anyscale]: '/assets/anyscale.png',
[KnownEndpoints.apipie]: '/assets/apipie.png',
[KnownEndpoints.cohere]: '/assets/cohere.png',
[KnownEndpoints.fireworks]: '/assets/fireworks.png',
[KnownEndpoints.groq]: '/assets/groq.png',
[KnownEndpoints.mistral]: '/assets/mistral.png',
[KnownEndpoints.ollama]: '/assets/ollama.png',
[KnownEndpoints.openrouter]: '/assets/openrouter.png',
[KnownEndpoints.perplexity]: '/assets/perplexity.png',
[KnownEndpoints.shuttleai]: '/assets/shuttleai.png',
[KnownEndpoints['together.ai']]: '/assets/together.png',
[KnownEndpoints.cohere]: '/assets/cohere.png',
};

const knownEndpointClasses = {
Expand Down
Loading

0 comments on commit ca9a0fe

Please sign in to comment.