eigent icon indicating copy to clipboard operation
eigent copied to clipboard

[Feature Request] Add UberLLM as an OpenAI-compatible model provider

Open al-global-tech opened this issue 3 weeks ago • 0 comments

Motivation

UberLLM is an OpenAI-compatible API (https://api.uberllm.dev/v1, standard /chat/completions and /models). One key covers about 260 chat models from different vendors (DeepSeek, Claude, GPT, Gemini, Qwen, Kimi and others), so in Eigent you can give different agents in a Workforce different models without adding a provider per vendor. Today a user has to pick the generic "OpenAI Compatible" entry and type the host by hand, with no model list and no icon.

Solution

Same pattern as Ant Ling (#1820 / #1823), Nebius and OrcaRouter:

  1. src/lib/llm.ts: add a uberllm entry to INIT_PROVODERS (apiHost: https://api.uberllm.dev/v1, modelsEndpoint: /models so the model picker fills from the provider).
  2. backend/app/model/model_platform.py: map uberllm to openai-compatible-model in PLATFORM_ALIAS_MAPPING.
  3. src/shared/modelProviderImages.ts + src/assets/model/uberllm.svg: provider logo.
  4. Test that Chat(platform="uberllm") normalizes to openai-compatible-model.

I have this ready and tested locally (backend unit tests, plus /model/list and /model/validate with a real key: the tool-call check passes). Happy to open the PR if this is welcome.

Alternatives

Keep using the generic "OpenAI Compatible" entry with a hand-typed host.

Additional context

I work on UberLLM. Prices per model: https://uberllm.dev/models

al-global-tech avatar Nov 10 '26 14:11 al-global-tech