Repository navigation
feat: add UberLLM as a named AI provider - #596
Merged
di-sukharev merged 2 commits intoNov 13, 2026
Merged
Conversation
Owner
|
fresh setup fails in migration 00. please fix this path and add a cli test. |
A fresh setup that picks uberllm (or orcarouter) writes a global config with no completed migrations. The next run then hit migration 00, which throws for providers that never had legacy per-provider keys, and exited 1. Add both providers to the skip list in _run.ts and add a CLI test that runs oco against a fresh uberllm config with no migrations file.
al-global-tech
force-pushed
the
add-uberllm-provider
branch
from
November 12, 2026 12:05
b88b280 to
4266142
Compare
Contributor
Author
|
Thanks for catching that. Fixed in 4266142:
|
di-sukharev
approved these changes
Nov 13, 2026
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.
Summary
Adds UberLLM as a named AI provider (
OCO_AI_PROVIDER=uberllm). It is an OpenAI-compatible gateway, soUberLLMEnginereusesOpenAiEngineand only sets the base URL (https://api.uberllm.dev/v1) andproviderName, the same wayOrcaRouterEnginedoes.OCO_API_URLstill overrides the base URL.oco modelsfetches the live catalog fromhttps://api.uberllm.dev/v1/models. Without?type=that endpoint returns chat (text-output) models only, so no modality filter is needed. The default and recommended model isdeepseek/deepseek-v3.2. I picked it because it answers directly: the DeepSeek V4 flash ids on UberLLM reason first, and with a small token limit they returned an empty commit message.Mirrors #582.
Changes
src/engine/uberllm.ts: newUberLLMEnginesrc/utils/provider.ts:OCO_AI_PROVIDER_ENUM.UBERLLMand itsapiKeyrequirementsrc/commands/config.ts:MODEL_LIST.uberllm, default model, API key URL, recommended model, validator listssrc/utils/engine.ts: engine dispatchsrc/utils/errors.ts: billing URL and recommended modelsrc/utils/modelCache.ts:fetchUberLLMModelssrc/commands/setup.ts: setup entry "UberLLM (OpenAI-compatible gateway)"README.md: provider list and a "Use UberLLM as the model gateway" sectiontest/unit/uberllm.test.ts,test/unit/modelCache.test.ts,test/unit/setup.test.ts: provider coverageout/cli.cjs: rebuilt withnpm run buildVerification
npm test: 23 suites, 210 tests passtsc --noEmit: 0 errorsbiome check . --diagnostic-level=error: cleanprettier --check src test README.md: cleannpm run build: succeeds, andout/cli.cjschanges only by the uberllm wiringgetEngine()withOCO_AI_PROVIDER=uberllmand a real key resolvedhttps://api.uberllm.dev/v1, andgenerateCommitMessagereturned a message for a one-line README diff.fetchUberLLMModelsreturned 263 models, including the default.Tested with deepseek/deepseek-v3.2: returned "chore: add npm test instruction to README" for a one-line README diff.
Per-model prices are listed at https://uberllm.dev/models and are usually below list price. Credit is prepaid from $5, and there is no monthly fee.
I work on UberLLM.