Files
OmniRoute/tests/unit
Felix Wunderlich f5f6158193 feat(providers): add Opper as an API-key gateway provider
Added Opper as an API-key gateway provider to OmniRoute. Five files changed:

1. `src/shared/constants/providers/apikey/gateways.ts` — new `opper` entry inserted immediately before `requesty` (same family: multi-model gateway, `passthroughModels: true`), matching the exact field shape of `requesty` and `openrouter`.
2. `open-sse/config/providers/registry/opper/index.ts` — new registry file using `buildOpenAiCompatibleRegistryEntry`, identical pattern to `requesty/index.ts`; base URL `https://api.opper.ai/v3/compat/chat/completions`, models URL `https://api.opper.ai/v3/compat/models`, empty static seed (live catalog via passthrough).
3. `open-sse/config/providers/index.ts` — import + REGISTRY key `opper` added adjacent to `requesty`.
4. `tests/unit/opper-provider.test.ts` — four unit tests mirroring `requesty-provider.test.ts`: catalog entry shape, registry entry shape, empty static seed, and passthrough model-id acceptance.
5. `changelog.d/features/opper-provider.md` — changelog fragment following the project's `changelog.d/` convention (never editing `CHANGELOG.md` directly).

(cherry picked from commit d976823672)
2026-08-26 08:16:31 -03:00
..