Skip to content

feat(gateway): add Opper as an EU-hosted model provider (#370) - #731

Open
Mahajan-Sachin wants to merge 1 commit into
HarnessRouter:mainfrom
Mahajan-Sachin:feat/add-opper-provider
Open

Mahajan-Sachin wants to merge 1 commit into
HarnessRouter:mainfrom
Mahajan-Sachin:feat/add-opper-provider

Conversation

@Mahajan-Sachin

Copy link
Copy Markdown

The feature

Adds Opper (an EU-hosted AI gateway, AWS Stockholm) as a model provider for operators whose traffic and audit logs must remain inside the EU (#370).

Expected behavior

Operators can connect an Opper API key under "Bring your own key" (_PROVIDER_CATALOG["opper"]). The fixed base URL is https://api.opper.ai/v3/compat. When connected, 62 confirmed canonical models from _MODEL_CATALOG with verified tool capabilities are available to 24 OpenAI-compatible agent backends.

The implementation

  1. gateway/app.py:
    • Added "opper" to _PROVIDER_CATALOG (base_url: "https://api.opper.ai/v3/compat", secret: "api_key", key_hint: "op-…").
    • Added OpenAI-compatible rows to _INTEGRATION_WIRING mapping "opper" to "openai-api" for: hermes, pi, omp, dsh, opencode, kilo, aider, fast-agent, docker-agent, vibe, kimi, minimax, grok, openhands, cheetahclaws, agentzero, qwen, cline, goose, mimo, jcode, opensquilla, nanobot, zeroclaw.
    • Populated _VENDOR_MODELS["opper"] with 62 confirmed canonical models whose capabilities on Opper's /v3/models include tools and text input/output modalities. Claude models match Opper's pool naming using hyphens (claude-sonnet-4-6), hunyuan-3 maps to hy3, and nemotron-3-ultra maps to nemotron-3-ultra-550b-a55b.
    • Claude Code is left out because Opper's spec places Anthropic Messages at /v3/compat/v1/messages (which requires a Messages-specific base adjustment). Codex, dcode, and Roder are left out pending live verification of Responses API reasoning propagation.
  2. gateway/tests/test_opper_catalog_capabilities.py:
    • Added test suite mirroring test_model_catalog_capabilities.py that verifies every model in _VENDOR_MODELS["opper"] exists on Opper (GET https://api.opper.ai/v3/models), belongs to _MODEL_CATALOG, and supports tools. The test skips cleanly when offline.
  3. Documentation:
    • Added opper row to the provider compatibility table in docs/self-hosting-guide.md.
    • Added provider verification notes in docs/support-matrix-notes.md.

Verification

  • Ran gateway/tests/test_model_catalog_capabilities.py and gateway/tests/test_opper_catalog_capabilities.py: all 6 tests passed in 7.58s.
  • Verified live catalogue query to https://api.opper.ai/v3/models (1,619 models parsed, confirmed 62 canonical models).
  • Verified GitNexus impact analysis (low risk, 0 affected execution flows).

…r#370)

- Add Opper entry to _PROVIDER_CATALOG with base_url https://api.opper.ai/v3/compat
- Wire 24 OpenAI-compatible agent backends to openai-api in _INTEGRATION_WIRING
- Add 62 confirmed canonical models to _VENDOR_MODELS['opper']
- Add gateway/tests/test_opper_catalog_capabilities.py with offline skip
- Update docs/self-hosting-guide.md and docs/support-matrix-notes.md
@vercel

vercel Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
unified-harness-protocol Ready Ready Preview Nov 21, 2026 7:13pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 968b4a5e Deployed Nov 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant