9router/src
H1d3rOne 860d94732a fix: custom provider prefix conflicts with built-in alias
When a custom OpenAI-compatible provider uses a prefix that matches
a built-in alias (e.g. 'ark' -> 'volcengine-ark'), resolveProviderAlias()
converts it to the built-in provider ID, causing the provider-node
matching logic to be skipped. The request is then routed to the wrong
provider, resulting in a 404 model_not_found error.

Fix: always check provider-node prefix matching using the original
user input (parsed.providerAlias) before falling back to the resolved
alias, regardless of whether resolveProviderAlias() transformed it.

Co-authored-by: H1d3rOne <H1d3rOne@users.noreply.github.com>
Made-with: Cursor
2026-05-01 16:28:51 +07:00
..
app Enhance chat handling and introduce Caveman feature 2026-04-30 18:00:38 +07:00
i18n Add multi-language support for UI 2026-03-17 09:30:07 +07:00
lib Enhance chat handling and introduce Caveman feature 2026-04-30 18:00:38 +07:00
mitm Enhance chat handling and introduce Caveman feature 2026-04-30 18:00:38 +07:00
models feat: add OpenCode Go provider and support for custom models 2026-04-22 14:16:21 +07:00
shared Update version to 0.4.9, enhance README with Trendshift badge, and add new embedding models to providerModels.js. Refactor TTS handling to support additional providers and improve API key validation for media providers. 2026-04-29 11:34:39 +07:00
sse fix: custom provider prefix conflicts with built-in alias 2026-05-01 16:28:51 +07:00
store Add Providers 2026-02-20 17:05:46 +07:00
dashboardGuard.js implement CLI token validation for enhanced security 2026-04-23 17:43:35 +07:00
proxy.js Fix Bug 2026-03-27 11:45:54 +07:00
server-init.js feat : 2026-02-21 16:42:46 +07:00