Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions components/icons/providers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export { default as ShuttleAIIcon } from './shuttleai'
export { default as TogetherAIIcon } from './togetherai'
export { default as TraefikIcon } from './traefik'
export { default as TrueFoundryIcon } from './truefoundry'
export { default as VeniceIcon } from './venice'
export { default as VLLMIcon } from './vllm'
export { default as VultrIcon } from './vultr'
export { default as WolframIcon } from './wolfram'
Expand Down
20 changes: 20 additions & 0 deletions components/icons/providers/venice.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import React from 'react'

export default function VeniceIcon({ className, ...props }: React.SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 319 356" className={className} {...props}>
<path
fillRule="evenodd"
clipRule="evenodd"
fill="currentColor"
d="M103.216 238.939C97.3385 234.569 90.2442 230.907 82.3992 228.683C74.5543 226.459 65.9586 225.673 57.5537 226.605C49.1487 227.537 40.9344 230.189 33.7676 234.078C26.6009 237.967 20.4815 243.094 15.7041 248.646C10.9136 254.187 6.74012 260.992 3.94483 268.653C1.14954 276.312 -0.267532 284.827 0.0439159 293.278C0.355196 301.728 2.395 310.115 5.74622 317.549C9.09761 324.983 13.7606 331.463 18.946 336.636C24.119 341.821 30.599 346.484 38.0325 349.835C45.466 353.187 53.8532 355.226 62.3039 355.538C70.7547 355.849 79.2691 354.432 86.9291 351.637C94.5891 348.841 101.395 344.668 106.935 339.877C112.487 335.1 117.614 328.981 121.504 321.814C125.393 314.647 128.044 306.433 128.977 298.028C129.909 289.623 129.122 281.027 126.898 273.182C124.674 265.338 121.013 258.243 116.643 252.365L131.077 237.931L138.6 245.454H144.567L151.769 238.252V232.284L144.246 224.762L159.5 209.508L174.754 224.762L167.231 232.284V238.252L174.433 245.454H180.4L187.923 237.931L202.357 252.365C197.987 258.243 194.326 265.338 192.102 273.182C189.878 281.027 189.091 289.623 190.023 298.028C190.956 306.433 193.607 314.647 197.496 321.814C201.386 328.981 206.513 335.1 212.065 339.877C217.605 344.668 224.411 348.841 232.071 351.637C239.731 354.432 248.245 355.849 256.696 355.538C265.147 355.226 273.534 353.187 280.968 349.835C288.401 346.484 294.881 341.821 300.054 336.636C305.239 331.463 309.902 324.983 313.254 317.549C316.605 310.115 318.645 301.728 318.956 293.278C319.268 284.827 317.85 276.312 315.055 268.653C312.26 260.992 308.086 254.187 303.296 248.646C298.518 243.094 292.399 237.967 285.232 234.078C278.066 230.189 269.851 227.537 261.446 226.605C253.041 225.673 244.446 226.459 236.601 228.683C228.756 230.907 221.662 234.569 215.784 238.939L201.618 224.75L209.141 217.227V211.26L201.682 203.801H195.714L188.186 211.329L172.927 196.082L252.924 116.085L285.306 148.467V114.774H319L286.617 82.391L316.016 52.9918V47.0245L308.557 39.5652H302.59L159.5 182.655L16.4103 39.5652H10.4428L2.98374 47.0245V52.9918L32.3828 82.391L0 114.774H33.6938V148.467L66.0764 116.085L146.073 196.082L130.814 211.329L123.286 203.801H117.318L109.859 211.26V217.227L117.382 224.75L103.216 238.939ZM233.03 313.043C229.736 319.8 230.421 329.163 234.662 335.369C238.558 341.797 246.8 346.292 254.314 346.087C261.828 346.292 270.07 341.797 273.967 335.369C278.208 329.163 278.892 319.8 275.598 313.043L276.419 312.16C283.175 315.472 292.552 314.801 298.768 310.561C305.206 306.668 309.712 298.417 309.506 290.896C309.712 283.375 305.206 275.124 298.768 271.23C292.552 266.991 283.175 266.32 276.419 269.632L275.598 268.748C278.892 261.992 278.208 252.629 273.967 246.422C270.07 239.994 261.828 235.499 254.314 235.704C246.8 235.499 238.558 239.994 234.662 246.422C230.421 252.629 229.736 261.992 233.03 268.748L232.21 269.632C225.454 266.32 216.077 266.991 209.861 271.23C203.422 275.124 198.917 283.375 199.123 290.896C198.917 298.417 203.422 306.668 209.861 310.561C216.077 314.801 225.454 315.472 232.21 312.16L233.03 313.043ZM84.3382 335.369C88.5794 329.163 89.2635 319.8 85.9695 313.043L86.7899 312.16C93.546 315.472 102.923 314.801 109.139 310.561C115.578 306.668 120.083 298.417 119.877 290.896C120.083 283.375 115.578 275.124 109.139 271.23C102.923 266.991 93.546 266.32 86.7899 269.632L85.9695 268.748C89.2635 261.992 88.5794 252.629 84.3382 246.422C80.4417 239.994 72.1997 235.499 64.6857 235.704C57.1716 235.499 48.9296 239.994 45.033 246.422C40.7919 252.629 40.1077 261.992 43.4017 268.748L42.5813 269.632C35.8252 266.32 26.4483 266.991 20.2323 271.23C13.7937 275.124 9.28837 283.375 9.49415 290.896C9.28837 298.417 13.7937 306.668 20.2323 310.561C26.4483 314.801 35.8252 315.472 42.5813 312.16L43.4017 313.043C40.1077 319.8 40.7919 329.163 45.033 335.369C48.9296 341.797 57.1716 346.292 64.6857 346.087C72.1997 346.292 80.4417 341.797 84.3382 335.369Z"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
fill="currentColor"
d="M162.483 135.58L215.069 82.9935V18.9881L196.081 0L159.5 36.5818L122.918 0L103.93 18.9881V82.9935L156.516 135.58H162.483ZM196.082 13.4266L164.247 45.2613V106.963L196.082 75.1285V13.4266ZM154.753 45.2613L122.918 13.4266V75.1285L154.753 106.963V45.2613Z"
/>
</svg>
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"shuttleai",
"togetherai",
"truefoundry",
"venice",
"vllm",
"vultrcloudinference",
"xai"
Expand Down
39 changes: 39 additions & 0 deletions content/docs/configuration/librechat_yaml/ai_endpoints/venice.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
title: Venice
icon: Venice
description: Configure Venice as a custom endpoint in LibreChat.
---

Venice provides OpenAI-compatible chat completions for its model catalog through a single API key. Add it to LibreChat as a custom endpoint.

## Get an API key

Create a key from the [Venice API dashboard](https://venice.ai/settings/api). Add it to your `.env` file:

```bash filename=".env"
VENICE_API_KEY=your-api-key
```

## Configuration

Add the endpoint under `endpoints.custom` in your `librechat.yaml`:

```yaml filename="librechat.yaml"
- name: 'Venice'
apiKey: '${VENICE_API_KEY}'
baseURL: 'https://api.venice.ai/api/v1'
models:
default: ['zai-org-glm-5']
fetch: true
titleConvo: true
titleModel: 'zai-org-glm-5'
modelDisplayLabel: 'Venice'
```

To let each user supply their own key through the LibreChat UI instead of reading one from `.env`, set `apiKey: "user_provided"`. Users then see a key input field when they select the endpoint.

## Notes

- Venice exposes an OpenAI-compatible `/models` endpoint, so `fetch: true` keeps the LibreChat model list synced with available Venice models. The `default` array is used as the initial fallback.
- Use `addParams` for Venice-specific options such as `venice_parameters` when you need features like web search or custom Venice behavior.
- Venice does not support the OpenAI Assistants API through this custom endpoint path.
11 changes: 11 additions & 0 deletions content/docs/configuration/librechat_yaml/example.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,17 @@ endpoints:
modelDisplayLabel: 'ShuttleAI'
dropParams: ['user']

# Venice
- name: 'Venice'
apiKey: '${VENICE_API_KEY}'
baseURL: 'https://api.venice.ai/api/v1'
models:
default: ['zai-org-glm-5']
fetch: true
titleConvo: true
titleModel: 'zai-org-glm-5'
modelDisplayLabel: 'Venice'

# together.ai
- name: 'together.ai'
apiKey: '${TOGETHERAI_API_KEY}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ iconURL: openAI
- "ShuttleAI"
- "together.ai"
- "Unify"
- "Venice"
- "xai"

## models
Expand Down
2 changes: 2 additions & 0 deletions lib/icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ import {
TogetherAIIcon,
TraefikIcon,
TrueFoundryIcon,
VeniceIcon,
VLLMIcon,
VultrIcon,
WolframIcon,
Expand Down Expand Up @@ -280,6 +281,7 @@ const icons: Record<string, ReactElement> = {
TogetherAI: <TogetherAIIcon />,
Traefik: <TraefikIcon />,
TrueFoundry: <TrueFoundryIcon />,
Venice: <VeniceIcon />,
VLLM: <VLLMIcon />,
Vultr: <VultrIcon />,
Wolfram: <WolframIcon />,
Expand Down
5 changes: 3 additions & 2 deletions public/starters-hashes.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@
"/docs/configuration/librechat_yaml/ai_endpoints/shuttleai": "e88896a0d6feb8628bbec4d32d5fc1ddebd861719506a3bc9dc7dc756532ef4f",
"/docs/configuration/librechat_yaml/ai_endpoints/togetherai": "489e879b8c74bb43ca03e5734c7bfaa439a6b75c6e8564638e987e8cd51f6605",
"/docs/configuration/librechat_yaml/ai_endpoints/truefoundry": "16bf9048fb116aba7a600eb49a5a222942bac089b95791031dbcbec043eeb068",
"/docs/configuration/librechat_yaml/ai_endpoints/venice": "303acf8c0170423937a0d95dcddd26813e1bbc7ec75bf95049742edff58ac38a",
"/docs/configuration/librechat_yaml/ai_endpoints/vllm": "4d7d3cd10e539d8a1aa5b6b2ab04ba83e375bc32abcf37cad29ef1bfaeb6a543",
"/docs/configuration/librechat_yaml/ai_endpoints/vultrcloudinference": "27b4079eee0bc98807ec85e8cd64aecb819a84a5104298d41ed103d5f55be018",
"/docs/configuration/librechat_yaml/ai_endpoints/xai": "8276d37d68206f665035ce015e54090ae286c21d8707be59a923981ff9d76a9e",
"/docs/configuration/librechat_yaml/example": "af9dd8fcd1b52a2c34370f1ecce5924f7f58ddccde764b6d4ab4f8246f2f8d05",
"/docs/configuration/librechat_yaml/example": "ae1421dd1eeafffd4709d9e81c3902886dcf3ecebabaa7f69eea8124e2af42fe",
"/docs/configuration/librechat_yaml/object_structure/actions": "1d31b104a0544a55eb0da386aea81ea08f1f6e621f32f051c91295f42330abe6",
"/docs/configuration/librechat_yaml/object_structure/agents": "302e154f9125281753e9653ebee9eabe09b4299b35b511fc4a7614963bdaa1c2",
"/docs/configuration/librechat_yaml/object_structure/anthropic_vertex": "4a9ea459f218ea7a6be77b711b0403934cbacf7392b5e2807f9df2a5cfd89490",
Expand All @@ -64,7 +65,7 @@
"/docs/configuration/librechat_yaml/object_structure/azure_openai": "86faf9feed6f5e92f73760dfb7807434f3f967ab93a919faed8c7743e577155e",
"/docs/configuration/librechat_yaml/object_structure/balance": "c5cf299069acb64322106d3610dff6c6decbf04fb1a288dc53d2e518b0104a89",
"/docs/configuration/librechat_yaml/object_structure/config": "45bca33b3a1cffc5aa6a9a9a0f48c09e87fdcaa56acb9e3aa9610cb2ec5f8a0b",
"/docs/configuration/librechat_yaml/object_structure/custom_endpoint": "8b1ca305012687576122425e899e48706a5a1c1a895c683221e8646dac3de180",
"/docs/configuration/librechat_yaml/object_structure/custom_endpoint": "a8c0b99c472e6d1496059214c7507a206705972be799f38f610fd7795ea0fc4c",
"/docs/configuration/librechat_yaml/object_structure/custom_params": "415cabbfe176d3515f820ca1b38655759b3ff06b7d2d3083d4c52881478f6e49",
"/docs/configuration/librechat_yaml/object_structure/default_params": "2ed6dd6b30b2e9df22f187492e7efa5f91b1203507ed2f7ea78dde9afd4c4436",
"/docs/configuration/librechat_yaml/object_structure/file_config": "2515b9d991293224ea15b308c2f4a3d01e98f2e55c2e7c7da7f011bdc9b48c9f",
Expand Down
5 changes: 5 additions & 0 deletions public/starters.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,11 @@
"What model names should I use in TrueFoundry YAML?",
"Do I need fetch: true for TrueFoundry models?"
],
"/docs/configuration/librechat_yaml/ai_endpoints/venice": [
"How do I configure Venice in librechat.yaml?",
"Can Venice models be fetched automatically?",
"How do I let users provide their own Venice API key?"
],
"/docs/configuration/librechat_yaml/ai_endpoints/vllm": [
"What baseURL should vLLM use for local server?",
"Why set titleMessageRole to user?",
Expand Down