[Feature] Add UberLLM chat completion provider template

Aperta Adatta ai principianti
#10,999 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à
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
74/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python
Ambito
ai, backend

Direzione di ricerca

Inizia dai modelli dei provider in astrbot/core/config/default.py, in particolare dalla voce 302.AI citata nell’issue, e verifica come la dashboard registra le icone dei provider. Aggiungi il modello UberLLM con i valori proposti e aggiorna gli elenchi dei provider in docs/zh e docs/en se vengono mantenuti lì. Il lavoro è completato quando gli utenti possono selezionare UberLLM e il provider è documentato; l’issue non indica alcun file di test da eseguire.

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

Descrizione

Feature Description

Add an UberLLM chat-completion provider template next to OpenRouter, 302.AI, SiliconFlow and PPIO in astrbot/core/config/default.py, so users pick it from the provider list instead of filling a custom OpenAI-compatible source by hand.

Disclosure: I work on UberLLM. The PR template asks that new features be discussed with the authors first, so I'm opening this issue before any PR.

Proposed template (same shape as the 302.AI one):

"UberLLM": {
    "id": "uberllm",
    "provider": "uberllm",
    "type": "openai_chat_completion",
    "provider_type": "chat_completion",
    "enable": True,
    "key": [],
    "api_base": "https://api.uberllm.dev/v1",
    "timeout": 120,
    "proxy": "",
    "custom_headers": {},
},

plus the provider icon in the dashboard and a line in docs/zh and docs/en where the provider list is documented, if you want those.

About the service: UberLLM is a hosted OpenAI-compatible API (https://api.uberllm.dev/v1) for GPT, Claude, Gemini, DeepSeek, GLM, Qwen, Kimi and other models, with streaming and tool calls on /v1/chat/completions and a model list at GET /v1/models. It also serves some uncensored models, which roleplay bot users ask for. It is paid: prepaid credit from $5 by card or PayPal, no free tier.

Use Case

A bot owner who wants several model families on one key, without running a gateway themselves, selects UberLLM, pastes the key and picks a model id.

Checklist
  • I have searched the Issue list for related features and confirmed this feature idea has never been proposed.
  • The feature I am suggesting is related to AstrBot itself, not to a specific plugin.
  • I have read and agree to the project's Code of Conduct.
  • (Optional) I am willing to submit a PR to help implement this feature.
Lingua principale
Python
Stelle
45.3k
Fork
3.3k
Merge medio
1g 8h
PR unite (30g)
134

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 AstrBotDevs/AstrBot

Tutte le issue di AstrBotDevs/AstrBot

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.