[Feature] Add UberLLM chat completion provider template

オープン 初心者向け
#10,999 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
74/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
ai, backend

調査の方向性

まず astrbot/core/config/default.py のプロバイダーテンプレート、特に issue で挙げられている 302.AI の項目を確認し、ダッシュボードがプロバイダーアイコンをどのように登録しているか調べます。提案された値で UberLLM のテンプレートを追加し、プロバイダーの一覧が docs/zh と docs/en で管理されている場合は更新します。ユーザーが UberLLM を選択でき、プロバイダーの説明がドキュメントに記載されれば完了です。issue には実行するテストファイルの指定がありません。

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
Python
スター
45.3k
フォーク
3.3k
平均マージ
1日 9時間
マージ済み PR(30日)
124

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AstrBotDevs/AstrBot のほかの issue

AstrBotDevs/AstrBot の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。