Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Opgeek-1
requested review from
Sebabaian,
dimneo,
n-papaioannou and
stefyi-4355
as code owners
December 2, 2026 04:04
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 WorldRouter as a named OpenAI-compatible provider, next to OpenRouter, OrcaRouter, Requesty and LLMTR (#441).
WorldRouter is an OpenAI-compatible gateway at
https://inference-api.worldrouter.ai/v1: one key for Claude, GPT, Gemini, DeepSeek, GLM and other models. Create a key at https://www.worldrouter.ai/dashboard/api-keys. Model IDs are bare names such asclaude-sonnet-5-5ordeepseek-v4-flash(list: https://www.worldrouter.ai/models).Changes
ifixai/providers/worldrouter.py:WorldRouterProvider, 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 modelclaude-sonnet-5-5.REGISTERED_PROVIDERS, provider map,WORLDROUTER_API_KEY), CLI--providerchoices, setup wizard and description,initkey detection, model catalog default and suggestions,pip install ifixai[worldrouter]extra,docs/cli.mdand the provider table indocs/testing-your-agent.md.grading_vendor: WorldRouter is listed as an aggregator. Because its model IDs have novendor/prefix, the vendor is taken from the family before the first dash (claude-sonnet-5-5→anthropic,gemini-…→google,gpt-…→openai,deepseek-…→deepseek), so a Claude system under test routed through WorldRouter and an Anthropic judge are still reported as same-vendor. Prefixed IDs keep the existing path.WORLDROUTER_API_KEYalone never auto-selects a judge; pass--judge-provider worldrouterto use it that way.Test plan
pytest ifixai/tests/providers/test_worldrouter_registration.py ifixai/tests/test_sdk_pool_teardown.py ifixai/tests/test_sdk_timeout_native.py: 97 passed (9 new registration tests, plus WorldRouter in the shared timeout and pool-teardown parametrizations).pytest -m "not acceptance" ifixai/testswith all extras installed: 4092 passed, 6 skipped.ruff checkon the touched Python files: passes.resolve_provider("worldrouter").send_message, forclaude-sonnet-5-5,deepseek-v4-flashanddeepseek-v4-pro: a plain system-under-test reply, and a judge call withjson_output=True,seed,reject_truncated=Truethat returned a parseable{"verdict": …}. 6/6 passed.Disclosure: I work on WorldRouter.
🤖 Generated with Claude Code