Complete Qianwen / QwenCloud branding and gateway upgrade
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- go
- Área
- backend-api-design
Línea de trabajo
Start with core/relay/adaptor/qwencloud/adaptor.go and the related FastGPT discussion at issue #7503 to locate the channel setup, default URL resolution, and help text described here. Trace how new and existing channels choose their base URL and how the adaptor composes request paths. Done means regional defaults and branding are consistent, legacy and explicit URLs still work, and tests cover resolution and request composition.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
Complete the user-facing brand upgrade from Bailian / Alibaba Model Studio to 千问 AI 平台 (Qianwen AI Platform) for mainland China and QwenCloud internationally. Align newly created chat channels with the new gateways while keeping old channel IDs, gateways, and configurations usable.
Motivation
The QwenCloud adaptor currently returns:
https://dashscope-intl.aliyuncs.com/compatible-mode/v1
Its mainland-China guidance also points to https://dashscope.aliyuncs.com/compatible-mode/v1.
Source: qwencloud/adaptor.go, commit c8af6371.
FastGPT consumes model/provider metadata through its plugin system and uses AIProxy for the applicable channel routing. Updating a FastGPT display name alone does not update this default.
Proposed Solution
Upgrade the existing channel setup and help text, with explicit regional selection and these defaults for newly created pay-as-you-go chat configurations:
| Platform / region | OpenAI-compatible Base URL |
|---|---|
| QwenCloud / international, Singapore | https://ap-southeast-1.maas.qwencloudapi.com/compatible-mode/v1 |
| Qianwen AI Platform / mainland China | https://maas.qianwenaiapi.com/compatible-mode/v1 |
- Upgrade remaining legacy-brand labels, help text, and corresponding FastGPT/plugin setup to the regional new brands. Do not retain the old brand as a parallel primary option for new channels.
- Align new-channel setup with the new gateway. If an existing channel with an empty base URL would be silently redirected by changing
DefaultBaseURL(), preserve its prior behavior through versioned/default-resolution compatibility rather than requiring users to migrate. - Preserve explicit channel URLs, old channel IDs/adaptor keys, and legacy runtime routing. The legacy endpoints remain usable; a branding update must not break old channels or their identification.
- Reuse current configuration interactions, distinguish domestic and international selection, and update official API-key/documentation links.
- Verify chat request URL composition using the adaptor's existing transport.
- Scope the first PR to chat configuration. The adaptor also advertises other modes; validate those separately rather than treating a chat endpoint list as proof of support for every mode.
Acceptance Criteria
- Existing channel branding and setup are upgraded consistently across the affected components; new channels use the correct regional gateway.
- Existing channels, including empty/default URL cases, have documented compatibility behavior.
- Explicit base URLs, old channel IDs, and legacy calls remain functional despite the user-facing brand change.
- Tests cover default resolution, explicit overrides, and request-path composition.
- Help text and any corresponding FastGPT/plugin metadata agree with the implementation.
- The PR identifies the AIProxy release and any FastGPT/plugin dependency update needed to deliver it.
Alternatives Considered
Administrators can configure the base URL manually, but that leaves the brand upgrade incomplete. Updating the existing entry and new-channel setup, with a compatible resolver for old channels, addresses both the new-user experience and continuity for existing users.
Additional Context
Related FastGPT discussion: https://github.com/labring/FastGPT/issues/7503.
References: Qianwen AI Platform, QwenCloud documentation.
If you have questions about API keys, endpoint selection, or setup, please refer to the corresponding official site:
- Mainland China — Qianwen AI Platform
- International — QwenCloud
- Lenguaje dominante
- Go
- Estrellas
- 570
- Forks
- 120
- Merge medio
- 5 h 52 min
- PR fusionados (30 d)
- 5
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de labring/aiproxy
-
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
Los mantenedores suelen responder en 1 día
-
功能请求:LOG_SQL_DSN 支持 ClickhouseAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
MCP SSE /message can return 202 even when the response is later dropped by a full SSE event queuePosiblemente ocupada @pcbeingused333 la tomó hace 1 día. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 58/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 58/100
Los mantenedores suelen responder en 1 día
-
功能请求:增加渠道请求的并发限制Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
Los mantenedores suelen responder en 1 día
Todos los issues de labring/aiproxy
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
[FEATURE]: Set fieldPath and reason on the CEL validation rulesPosiblemente ocupada @bjosv la tomó hoy. Abiertoenhancement needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
valkey-io/valkey-operator#618 ·
Los mantenedores suelen responder en 3 días
-
agent-butler-finding bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
jordansmall/spindrift#6414 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Icinga/icinga-kubernetes#294 ·
Los mantenedores suelen responder en 4 días
-
Cluster details: the Control Plane version field has a different border color than its icon boxAbiertokind/design sig/ui
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
kubermatic/dashboard#8449 ·
Los mantenedores suelen responder en 1 día