Skip to content

Commit 1ee2c32

Browse files
authored
🚀 feat: Add ShuttleAI as Known Endpoint (#2152)
Added new Official Known Endpoint (ShuttleAI)
1 parent f521040 commit 1ee2c32

File tree

7 files changed

+40
-2
lines changed

7 files changed

+40
-2
lines changed

.env.example

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ PROXY=
5858
# https://docs.librechat.ai/install/configuration/ai_endpoints.html
5959

6060
# GROQ_API_KEY=
61-
# MISTRAL_API_KEY=
61+
# SHUTTLEAI_KEY=
6262
# OPENROUTER_KEY=
63+
# MISTRAL_API_KEY=
6364
# ANYSCALE_API_KEY=
6465
# FIREWORKS_API_KEY=
6566
# PERPLEXITY_API_KEY=
30.2 KB
Loading

client/public/assets/shuttleai.png

255 KB
Loading

client/src/components/Chat/Menus/Endpoints/UnknownIcon.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ export default function UnknownIcon({
3838
alt="Groq Cloud Icon"
3939
/>
4040
);
41+
} else if (currentEndpoint === KnownEndpoints.shuttleai) {
42+
return (
43+
<img
44+
className={context === 'landing' ? '' : className}
45+
src="/assets/shuttleai.png"
46+
alt="ShuttleAI Icon"
47+
/>
48+
);
4149
} else if (currentEndpoint === KnownEndpoints.anyscale) {
4250
return (
4351
<img

docs/install/configuration/ai_endpoints.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,33 @@ Some of the endpoints are marked as **Known,** which means they might have speci
130130
131131
![image](https://github.com/danny-avila/LibreChat/assets/32828263/9f2d8ad9-3f49-4fe3-a3ed-c85994c1c85f)
132132
133+
## ShuttleAI
134+
> ShuttleAI API key: [shuttleai.app/keys](https://shuttleai.app/keys)
135+
136+
**Notes:**
137+
138+
- **Known:** icon provided, fetching list of models is recommended.
139+
140+
```yaml
141+
- name: "ShuttleAI"
142+
apiKey: "${SHUTTLEAI_API_KEY}"
143+
baseURL: "https://api.shuttleai.app/v1"
144+
models:
145+
default: [
146+
"shuttle-1", "shuttle-turbo"
147+
]
148+
fetch: true
149+
titleConvo: true
150+
titleModel: "gemini-pro"
151+
summarize: false
152+
summaryModel: "llama-summarize"
153+
forcePrompt: false
154+
modelDisplayLabel: "ShuttleAI"
155+
dropParams: ["user"]
156+
```
157+
158+
![image](https://github.com/danny-avila/LibreChat/client/public/assets/ShuttleAI_Fibonacci.png)
159+
133160
## Fireworks
134161
> Fireworks API key: [fireworks.ai/api-keys](https://fireworks.ai/api-keys)
135162

docs/install/configuration/dotenv.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,9 @@ PROXY=
135135

136136
```sh
137137
GROQ_API_KEY=
138-
MISTRAL_API_KEY=
138+
SHUTTLEAI_KEY=
139139
OPENROUTER_KEY=
140+
MISTRAL_API_KEY=
140141
ANYSCALE_API_KEY=
141142
FIREWORKS_API_KEY=
142143
PERPLEXITY_API_KEY=

packages/data-provider/src/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ export type TCustomConfig = z.infer<typeof configSchema>;
221221

222222
export enum KnownEndpoints {
223223
mistral = 'mistral',
224+
shuttleai = 'shuttleai',
224225
openrouter = 'openrouter',
225226
groq = 'groq',
226227
anyscale = 'anyscale',

0 commit comments

Comments
 (0)