diff --git a/changelog.d/fixes/11923-orcarouter-baseurl.md b/changelog.d/fixes/11923-orcarouter-baseurl.md new file mode 100644 index 0000000000..672ebf26b2 --- /dev/null +++ b/changelog.d/fixes/11923-orcarouter-baseurl.md @@ -0,0 +1 @@ +- **fix(providers):** OrcaRouter chat requests now target `/v1/chat/completions` instead of the bare `/v1` API root, fixing the upstream `404 Invalid URL (POST /v1)` ([#11923](https://github.com/diegosouzapw/OmniRoute/pull/11923)). diff --git a/open-sse/config/providers/registry/orcarouter/index.ts b/open-sse/config/providers/registry/orcarouter/index.ts index d8d7d5bb59..c6247d9ab7 100644 --- a/open-sse/config/providers/registry/orcarouter/index.ts +++ b/open-sse/config/providers/registry/orcarouter/index.ts @@ -13,7 +13,7 @@ export const orcarouterProvider: RegistryEntry = { alias: "orcarouter", format: "openai", executor: "default", - baseUrl: "https://api.orcarouter.ai/v1", + baseUrl: "https://api.orcarouter.ai/v1/chat/completions", authType: "apikey", authHeader: "bearer", defaultContextLength: 128000,