[Feature] Add UberLLM chat completion provider template

Đang mở Phù hợp với người mới
#10,999 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
74/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
ai, backend

Hướng nghiên cứu

Bắt đầu với các mẫu nhà cung cấp trong astrbot/core/config/default.py, đặc biệt là mục 302.AI được đề cập trong issue, và kiểm tra cách dashboard đăng ký biểu tượng nhà cung cấp. Thêm mẫu UberLLM với các giá trị được đề xuất và cập nhật danh sách nhà cung cấp trong docs/zh và docs/en nếu các danh sách đó được duy trì ở đó. Công việc hoàn tất khi người dùng có thể chọn UberLLM và nhà cung cấp được ghi lại trong tài liệu; issue không nêu tệp kiểm thử nào cần chạy.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Python
Star
46.4k
Fork
3.4k
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
123

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AstrBotDevs/AstrBot

Tất cả issue của AstrBotDevs/AstrBot

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.