Skip to content

Commit 3aa250a

Browse files
authored
docs: add AMD Lemonade custom endpoint provider (#759)
* docs: add AMD Lemonade custom endpoint provider * docs: align Lemonade guide with other AI endpoints
1 parent c245873 commit 3aa250a

5 files changed

Lines changed: 58 additions & 0 deletions

File tree

‎components/icons/providers/index.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export { default as GroqIcon } from './groq'
2121
export { default as HeliconeIcon } from './helicone'
2222
export { default as HuggingFaceIcon } from './huggingface'
2323
export { default as KeycloakIcon } from './keycloak'
24+
export { default as LemonadeIcon } from './lemonade'
2425
export { default as LiteLLMIcon } from './litellm'
2526
export { default as MeilisearchIcon } from './meilisearch'
2627
export { default as MistralIcon } from './mistral'
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import React from 'react'
2+
3+
// Monochrome silhouette from https://github.com/lemonade-sdk/lemonade/blob/main/src/app/assets/logo.svg
4+
export default function LemonadeIcon({ className, ...props }: React.SVGProps<SVGSVGElement>) {
5+
return (
6+
<svg
7+
xmlns="http://www.w3.org/2000/svg"
8+
viewBox="0 0 32 32"
9+
className={className}
10+
aria-hidden="true"
11+
{...props}
12+
>
13+
<path
14+
fill="currentColor"
15+
d="M7.03604 2.49169L2 5.00962C2.82591 7.34634 5.52523 8.53484 8.04325 7.52763L14.0865 5.00967C13.2606 2.66287 9.85018 1.17686 7.03604 2.49169Z"
16+
/>
17+
<path
18+
fill="currentColor"
19+
d="M14.9236 4.5997C9.51985 6.50701 6.6904 12.4499 8.59216 17.8694L9.84454 21.4282C11.2477 25.4172 14.8309 28.0107 18.7736 28.3363C19.5157 28.3945 20.2115 28.7201 20.7681 29.2202C21.5682 29.9413 22.7162 30.2087 23.7947 29.8249C24.8731 29.4412 25.6037 28.5108 25.7776 27.4525C25.8936 26.7082 26.2299 26.0336 26.7749 25.5103C29.6391 22.7656 30.8103 18.4974 29.4072 14.5084L28.1548 10.9496C26.2531 5.51849 20.3274 2.68077 14.9236 4.5997Z"
20+
/>
21+
</svg>
22+
)
23+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: AMD Lemonade
3+
icon: Lemonade
4+
description: Configure AMD Lemonade as a custom endpoint in LibreChat.
5+
---
6+
7+
AMD Lemonade runs models locally through an OpenAI-compatible API. Follow the [Lemonade documentation](https://lemonade-server.ai/docs/) to install and start the server, then download a chat model.
8+
9+
## Configuration
10+
11+
Lemonade requires no API key; the placeholder below satisfies the OpenAI client. Add the endpoint under `endpoints.custom` in your `librechat.yaml`:
12+
13+
```yaml filename="librechat.yaml"
14+
- name: 'lemonade'
15+
apiKey: 'lemonade'
16+
baseURL: 'http://localhost:13305/v1'
17+
models:
18+
default: ['Qwen3-0.6B-GGUF']
19+
fetch: true
20+
titleConvo: true
21+
titleModel: 'current_model'
22+
modelDisplayLabel: 'AMD Lemonade'
23+
iconURL: 'lemonade'
24+
```
25+
26+
## Notes
27+
28+
- Replace `Qwen3-0.6B-GGUF` with a locally installed chat model. With `fetch: true`, LibreChat retrieves the model list from Lemonade. `titleModel: 'current_model'` reuses the conversation's model for titles.
29+
- For Docker, replace `localhost` with `host.docker.internal` or a reachable Lemonade hostname.
30+
- For user-provided base URLs, add the local server's exact `host:port` (e.g. `host.docker.internal:13305`) to [`endpoints.allowedAddresses`](/docs/configuration/librechat_yaml/object_structure/config#endpoints).
31+
- Built-in branding recognizes `lemonade`, `AMD Lemonade`, and `Lemonade Server`. Keep `iconURL: 'lemonade'` to preserve the logo when renaming the endpoint.

‎content/docs/configuration/librechat_yaml/ai_endpoints/meta.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"groq",
1414
"helicone",
1515
"huggingface",
16+
"lemonade",
1617
"litellm",
1718
"mistral",
1819
"mlx",

‎lib/icons.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
HeliconeIcon,
2424
HuggingFaceIcon,
2525
KeycloakIcon,
26+
LemonadeIcon,
2627
LiteLLMIcon,
2728
MeilisearchIcon,
2829
MistralIcon,
@@ -256,6 +257,7 @@ const icons: Record<string, ReactElement> = {
256257
Helicone: <HeliconeIcon />,
257258
HuggingFace: <HuggingFaceIcon />,
258259
Keycloak: <KeycloakIcon />,
260+
Lemonade: <LemonadeIcon />,
259261
LiteLLM: <LiteLLMIcon />,
260262
Meilisearch: <MeilisearchIcon />,
261263
Mistral: <MistralIcon />,

0 commit comments

Comments
 (0)