mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-20 09:16:13 +01:00
🔧 fix: Resolve Proper Dependencies to fix Application Error (#2488)
* chore: bump data-provider * feat: script to check recent dependency updates * fix: override vite/rollup version for vite build fix - also remove unused vite-plugin-html - add vite build to file output command * chore: bump rollup override to last known working version (v4.16.0 is breaking) * chore(vite): increase file size cache for workbox * fix: resolve openai to last known version using assistants v1 latest features and default header * chore: update openrouter examples
This commit is contained in:
parent
3bfd185cab
commit
c96f067689
10 changed files with 3618 additions and 4000 deletions
|
|
@ -125,16 +125,16 @@ Some of the endpoints are marked as **Known,** which means they might have speci
|
|||
- name: "OpenRouter"
|
||||
# For `apiKey` and `baseURL`, you can use environment variables that you define.
|
||||
# recommended environment variables:
|
||||
# Known issue: you should not use `OPENROUTER_API_KEY` as it will then override the `openAI` endpoint to use OpenRouter as well.
|
||||
apiKey: "${OPENROUTER_KEY}"
|
||||
apiKey: "${OPENROUTER_KEY}" # NOT OPENROUTER_API_KEY
|
||||
baseURL: "https://openrouter.ai/api/v1"
|
||||
models:
|
||||
default: ["gpt-3.5-turbo"]
|
||||
default: ["meta-llama/llama-3-70b-instruct"]
|
||||
fetch: true
|
||||
titleConvo: true
|
||||
titleModel: "gpt-3.5-turbo" # change to your preferred model
|
||||
modelDisplayLabel: "OpenRouter"
|
||||
titleModel: "meta-llama/llama-3-70b-instruct"
|
||||
# Recommended: Drop the stop parameter from the request as Openrouter models use a variety of stop tokens.
|
||||
dropParams: ["stop"]
|
||||
modelDisplayLabel: "OpenRouter"
|
||||
```
|
||||
|
||||

|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue