Repository navigation
Conversation
Adds ChatOpper, a ChatOpenAI subclass for Opper's OpenAI-compatible API at https://api.opper.ai/v3/compat, in the same shape as the other OpenAI-compatible providers. It reads OPPER_API_KEY (and OPPER_API_BASE to override the base URL), and is registered in the CLI setup wizard, the provider exports and the README, with unit tests next to the existing provider tests. Opper is an EU-hosted AI gateway: 700+ models from 50+ providers behind one key. The default model, claude-sonnet-4-6, and the other listed models are pool names from Opper's public catalog (GET https://api.opper.ai/v3/models) that support vision and tool calling. Disclosure: Opper is my startup. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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 an LLM provider.
Opper is an EU-hosted, OpenAI-compatible AI gateway: one API key gives access to 700+ models from 50+ providers.
ChatOpperextendsChatOpenAIand only sets the base URL, the API key env var and the provider name, the same pattern the other OpenAI-compatible providers use.Changes
windows_use/providers/opper/: newChatOpperclass.https://api.opper.ai/v3/compat.OPPER_API_KEY. Optional base URL override:OPPER_API_BASE.claude-sonnet-4-6.windows_use/providers/__init__.py: exportChatOpper.windows_use/cli/registry.py: provider, models, API key flag and display name.windows_use/cli/setup.py:create_llmbranch and env var map entry.README.md: provider table row and a short usage example.tests/unit/providers/test_opper.py: client defaults and CLI registry entries.The listed models (
claude-sonnet-4-6,gpt-5.4-mini,gpt-5.5,gemini-3.8-flash,mistral-large-2512) are pool names from Opper's public catalog (GET https://api.opper.ai/v3/models), and all of them support vision and tool calling, which the agent needs. Keys: https://platform.opper.aiTesting
Disclosure: Opper is my startup.