[feat] providers: MartLLM row for #240 (one key for chat, image, video and speech)

Offen Anfängerfreundlich
#311 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
72/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
typescript
Bereich
api, backend

Rechercherichtung

Lies das bestehende DeepSeek-Preset und die Provider-Konfiguration für ChatCompletions.stream. Füge das uberllm-Preset mit dem angegebenen Endpunkt, dem OpenAI-Protokoll, Bearer-Authentifizierung und der Modellerkennung über /v1/models hinzu. Damit ist die Aufgabe abgeschlossen, wenn das Preset gestreamte Chats und Tool-Aufrufe ohne einen provider-spezifischen chat_completions.py-Zweig unterstützt; überprüfe es mit den vorhandenen Provider-Tests des Projekts.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area:provider

Refs #240

#240 asks whether a user can enter one API key once and use it for assistant chat, image generation, video generation and narration. I work on UberLLM, an OpenAI-compatible API where one prepaid key serves chat, image, video, music and speech models, and I'd like to take its row in the matrix.

Proposed scope, one PR per step:

  1. Chat (this first PR): a uberllm agent preset, https://api.uberllm.dev/v1, protocol: "openai", bearer auth, no fixed model list (the public /v1/models endpoint lists the chat models, like the DeepSeek preset). No chat_completions.py branch is needed: in my test reasoning_effort low was accepted by DeepSeek, Qwen, GLM, GPT and Gemini models, medium by DeepSeek, Qwen and GLM, and high by DeepSeek, with no 400s. Verified through ChatCompletions.stream with a real key: streamed reply, and a tool call returned with its arguments.
  2. Image and speech: UberLLM serves /v1/images/generations, /v1/images/edits and /v1/audio/speech in the OpenAI shape, so these could reuse the existing openai image and speech adapters once the preset lists the right model ids by kind. I would verify the size, base64 and voice handling on a real account before claiming it.
  3. Video: UberLLM's video API is a job API (POST /v1/video/generations, poll GET /v1/video/generations/{id}, download the result), so it needs its own protocol adapter. I'd open a sub-issue for it rather than fold it into the preset.

Endpoint scope: international (one endpoint; no separate mainland China endpoint).

Does this scope work? If so I'll open the chat PR referencing #240.

Vorherrschende Sprache
TypeScript
Sterne
119
Forks
16
Ø Merge
16 Std. 13 Min.
Gemergte PRs (30 T.)
195

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus ThinkFlowLab/OpenDirector

Alle Issues in ThinkFlowLab/OpenDirector

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.