Repository navigation
feat: add UberLLM provider - #18
Open
PSA-Team-source wants to merge 1 commit into
Open
PSA-Team-source wants to merge 1 commit into
PSA-Team-source wants to merge 1 commit into
Conversation
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 UberLLM as an LLM provider, following the same pattern as #14 (and #8).
UberLLM is an OpenAI-compatible gateway. For Windows-Use the useful part is that one key covers the vision models that read the screenshots (GPT-5.4, Claude Sonnet 5, Gemini 3.5 Flash, Qwen3 VL), all with tool calling, so you can switch the agent between them from the CLI model picker.
ChatUberLLMextendsChatOpenAIand only sets the base URL, the API key env var and the provider name.Mirrors #14.
Changes
windows_use/providers/uberllm/— newChatUberLLMclass.https://api.uberllm.dev/v1.UBERLLM_API_KEY. Optional base URL override:UBERLLM_API_BASE.openai/gpt-5.4-mini.windows_use/providers/__init__.py— exportChatUberLLM.windows_use/cli/registry.py— provider, models (all image-input + tools), 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_uberllm.py— client defaults and CLI registry entries.Testing
pytest tests/unit/providers tests/unit/test_openai_events.py tests/unit/test_llm_events.py— 15 passed.ruff checkandruff format --checkon the changed files — pass.create_llm("uberllm", ...)returnsChatUberLLMpointed athttps://api.uberllm.dev/v1;invoke()with aHumanMessageand with anImageMessage(64x64 red PNG) both returned HTTP 200.comtypes,windows_use.uia,windows_use.vdm) were stubbed for the imports. The full suite was not run.Tested with openai/gpt-5.4-mini:
invoke()answered "OK" to the text prompt and "red" for the screenshot-styleImageMessage.Per-model prices (usually below list price): https://uberllm.dev/models
I work on UberLLM.