Feature request: openai_compatible API_TYPE so any OpenAI-compatible endpoint works with no service class

Aperta
#369 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start by reading the custom-model path in the agents.yaml config and the model factory where service classes are registered (ufo/config and ufo/llm or similar module). Trace how API_BASE, API_KEY, and API_MODEL flow into an existing OpenAI-style service class, then add an openai_compatible API_TYPE that reuses it with no code required. Done means HOST_AGENT and APP_AGENT can point at any OpenAI-compatible endpoint purely via config.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi — I run DemonRoute (demonroute.com), an OpenAI-compatible API at https://api.demonroute.com/v1.

I will be direct about why I am here: we are talking to a lot of projects, because there is no large established provider for no-subscription, anonymous API keys for open-weight uncensored models. We are earning distribution one repo at a time.

UFO is a case where the current path is close but not quite open. Today the custom-model route in agents.yaml takes API_BASE, API_KEY, and API_MODEL, but using it still means writing a Python service class and registering it in the model factory. That is a real barrier for anyone who just wants to point HOST_AGENT or APP_AGENT at an OpenAI-compatible endpoint.

The feature ask: add an openai_compatible API_TYPE that sends standard chat-completions requests to API_BASE with API_KEY and API_MODEL, no code required. That would make any OpenAI-compatible provider work out of the box, DemonRoute included.

Why it matters for UFO users: every desktop step is an LLM call with screenshots attached, so cost adds up fast, and your own docs flag cost optimization. We carry Dolphin, MythoMax, Hermes, and abliterated Llama/Qwen builds that handle adversarial automation tasks without refusing, and we never train on user content. Nothing on a user's screen is ever used to train a model.

Who is behind it: during the NFT peak I became the largest NFT artist on the third-largest chain in the world, overnight, with zero funding. That turned into consulting for Fortune 500s, celebrities, and emerging tech companies. I run everything under NFT Demon Holdings LLC, and DemonRoute is my passion priority.

Reciprocal: any app that lists DemonRoute as a provider option gets listed on demonroute.com/integrations.

Jeremy, DemonRoute

Lingua principale
Python
Stelle
10.2k
Fork
1.1k
Merge medio
1m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/UFO

Tutte le issue di microsoft/UFO

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.