🧭 feat: Add OpenRouter Prompt Cache Setting (#13029)

* feat: add OpenRouter prompt cache setting

* fix: type OpenRouter schema lookup

* fix: honor proxied OpenRouter prompt cache

* refactor: flatten endpoint schema fallback

* chore: Bump `@librechat/agents` to version 3.1.82

* fix: Default OpenRouter prompt cache params

* test: Align OpenRouter config expectations

* test: Update OpenRouter default cache expectation

* fix: Align OpenRouter Detection

* chore: Bump `@librechat/agents` to version 3.1.83

* docs: Remove OpenRouter prompt cache setup note

* refactor: Use provider enum for OpenRouter defaults

* style: Format OpenRouter defaults guard
This commit is contained in:
Danny Avila 2026-05-09 11:46:09 -04:00 committed by GitHub
parent 0d5c2b339a
commit 8a654dc8b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 487 additions and 38 deletions

10
package-lock.json generated
View file

@ -60,7 +60,7 @@
"@azure/storage-blob": "^12.30.0",
"@google/genai": "^1.19.0",
"@keyv/redis": "^4.3.3",
"@librechat/agents": "^3.1.81",
"@librechat/agents": "^3.1.83",
"@librechat/api": "*",
"@librechat/data-schemas": "*",
"@microsoft/microsoft-graph-client": "^3.0.7",
@ -12088,9 +12088,9 @@
}
},
"node_modules/@librechat/agents": {
"version": "3.1.81",
"resolved": "https://registry.npmjs.org/@librechat/agents/-/agents-3.1.81.tgz",
"integrity": "sha512-5Ivq0qltFin+C63JyeVk254WxtxF1q2cict8BEaHisIIxNGn+DmNaL9SiK9GCmVVsi3mwGQA/wv6vEHWdiPvLw==",
"version": "3.1.83",
"resolved": "https://registry.npmjs.org/@librechat/agents/-/agents-3.1.83.tgz",
"integrity": "sha512-6d+GOrR9ORe0a+ofwcJLWXbEP5VIurKxu4bWnOPpLMj5+rPDeTPgfGrmGwPrREQPTkFWpMb8VkEb7iP2ve3XzA==",
"license": "MIT",
"dependencies": {
"@anthropic-ai/sdk": "^0.92.0",
@ -44658,7 +44658,7 @@
"@azure/storage-blob": "^12.30.0",
"@google/genai": "^1.19.0",
"@keyv/redis": "^4.3.3",
"@librechat/agents": "^3.1.81",
"@librechat/agents": "^3.1.83",
"@librechat/data-schemas": "*",
"@modelcontextprotocol/sdk": "^1.29.0",
"@smithy/node-http-handler": "^4.4.5",