Repository navigation
Conversation
Adds Opper, a European AI gateway, as a named provider next to OpenRouter, Requesty and LLMTR. The adapter has the same shape as llmtr.py: base URL https://api.opper.ai/v3/compat, key from OPPER_API_KEY, default model gpt-4o-mini. Like the other gateways it is a pinned judge only. Opper model IDs are bare pool names (claude-sonnet-4-6), and a pinned route's prefix names the host, not the developer (aws/claude-sonnet-4-6-eu). grading_vendor therefore reads the vendor from the model family, so a Claude system under test through Opper with an Anthropic judge still gets the self-judge warning. Disclosure: Opper is my startup. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Felixkw12
requested review from
Sebabaian,
dimneo,
n-papaioannou and
stefyi-4355
as code owners
December 2, 2026 12:12
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Opper as a named OpenAI-compatible provider, next to OpenRouter, Requesty and LLMTR. Files follow #441 one for one, with one addition in
grading_vendor.Opper is a European AI gateway: one key for 700+ models from OpenAI, Anthropic, Google, DeepSeek and others, at
https://api.opper.ai/v3/compat. Keys are created at https://platform.opper.ai. Model IDs are bare pool names such asgpt-4o-miniorclaude-sonnet-4-6, and Opper picks the route per request. An ID likeaws/claude-sonnet-4-6-eupins one route. The public model list is at https://api.opper.ai/v3/models.Changes
ifixai/providers/opper.py:OpperProvider, the same shape asLLMTRProvider(cachedAsyncOpenAIclient,max_tokensceiling,json_objecton judge calls with the existing free text fallback, same error mapping).config.endpointstill overrides the base URL. Default modelgpt-4o-mini, the model the Requesty entry defaults to.REGISTERED_PROVIDERS, provider map,OPPER_API_KEY), CLI--providerchoices, setup wizard and description,initkey detection, model catalog default and suggestions, thepip install ifixai[opper]extra,docs/cli.md, the provider table indocs/testing-your-agent.md, and the adapter lists intest_sdk_timeout_native.pyandtest_sdk_pool_teardown.py.grading_vendor: Opper IDs carry no vendor prefix, and a pinned route's prefix names the host, not the developer. So foropperthe vendor comes from the model family:claude-sonnet-4-6andaws/claude-sonnet-4-6-euresolve toanthropic,gpt-4o-miniandazure/gpt-5.5toopenai. A Claude system under test through Opper with an Anthropic judge still gets the self-judge warning. With no model it staysopper._JUDGE_PREFERENCE_ORDERorjudge_fallbacks.json, so anOPPER_API_KEYalone never auto-selects a judge. Pass--judge-provider opperto use it that way.Test plan
ifixai/tests/providers/test_opper_registration.py: the feat: add LLMTR as an OpenAI-compatible provider #441 registration checks foropper, plus the vendor for pool names and pinned routes, and the self-judge warning case. Without thegrading_vendorchange,grading_vendor("opper", "claude-sonnet-4-6")returnsopper, so the vendor and warning checks fail.ruff,bandit,ifixai validateorpytestlocally, so CI is the first run. I have not runifixai run --provider opperagainst a fixture either, so there is no scorecard snippet yet. I can add one before merge if you want it.Disclosure: Opper is my startup.