Repository navigation
Add UberLLM as an AI provider - #206
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 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 a provider type, next to OpenRouter, Opper and Requesty:
UberLLMenum member,UberLLMConfigand its place inALL_PROVIDER_TYPES(tauri/client.ts)https://api.uberllm.dev/v1and the/modelsfetch, in the id-only group with Opper and Requesty (settings/provider/api.ts)provider-icon.tsx)database/ai/services.ts)UberLLM is an OpenAI-compatible API where one key reaches about 240 chat models from different vendors, with ids like
deepseek/deepseek-v4.1-flash,openai/gpt-4o-minioranthropic/claude-sonnet-4.6. For the SQL assistant that means you can try a few models on the same schema/question without adding a provider per vendor.GET /v1/modelswith the key returns only the chat models, in the OpenAI{ data: [{ id }] }shape, so the model picker does not fill up with image or video models.Mirrors #202.
Testing:
tsc --noEmit -p .passes andoxfmt --checkis clean on the four changed files.api.ts, the/modelsresponse parsed with the same zod schema as the id-only group (243 models parsed), and chat throughcreateOpenAICompatiblewith the same options asservices.ts(globalfetchin place oftauriFetch).Tested with deepseek/deepseek-v4.1-flash:
generateTextreturnedSELECT COUNT(*) FROM users;for "count rows in table users", andstreamTextstreamed the expected reply;openai/gpt-4o-minigave the same.Keys: https://uberllm.dev/signup
Per-model prices (usually below list price): https://uberllm.dev/models
I work on UberLLM.