🔧 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:
Danny Avila 2024-04-22 12:52:30 -04:00 committed by GitHub
parent 3bfd185cab
commit c96f067689
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 3618 additions and 4000 deletions

View file

@ -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"
```
![image](https://github.com/danny-avila/LibreChat/assets/110412045/c4a0415e-732c-46af-82a6-3598663b7f42)