[Feature] Add UberLLM chat completion provider template

Abierto Apto para principiantes
#10,999 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
74/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python
Área
ai, backend

Línea de trabajo

Empieza por las plantillas de proveedores en astrbot/core/config/default.py, especialmente por la entrada de 302.AI mencionada en el issue, y comprueba cómo registra el dashboard los iconos de proveedores. Añade la plantilla de UberLLM con los valores propuestos y actualiza las listas de proveedores en docs/zh y docs/en si se mantienen allí. El trabajo estará terminado cuando los usuarios puedan seleccionar UberLLM y el proveedor esté documentado; el issue no indica ningún archivo de pruebas que ejecutar.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Python
Estrellas
45.3k
Forks
3.3k
Merge medio
1 d 9 h
PR fusionados (30 d)
124

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de AstrBotDevs/AstrBot

Todos los issues de AstrBotDevs/AstrBot

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.