Update the tui_desc text shown for each provider in the interactive `hermes model` / setup wizard / `/model` pickers. Pure copy refresh — slugs, labels, PROVIDER_GROUPS folding, and all typed paths are unchanged, so the 7 grouped families (OpenAI, xAI Grok, GitHub Copilot, Google Gemini, Kimi / Moonshot, MiniMax, OpenCode) still fold identically. Also aligns the auto-injected alibaba-coding-plan provider description to the same parenthetical style.
22 lines
832 B
Python
22 lines
832 B
Python
"""Alibaba Cloud Coding Plan provider profile.
|
|
|
|
Separate from the standard `alibaba` profile because it hits a different
|
|
endpoint (coding-intl.dashscope.aliyuncs.com) with a dedicated API key tier.
|
|
"""
|
|
|
|
from providers import register_provider
|
|
from providers.base import ProviderProfile
|
|
|
|
alibaba_coding_plan = ProviderProfile(
|
|
name="alibaba-coding-plan",
|
|
aliases=("alibaba_coding", "alibaba-coding", "dashscope-coding"),
|
|
display_name="Alibaba Cloud (Coding Plan)",
|
|
description="Alibaba Cloud Coding Plan (Dedicated coding tier)",
|
|
signup_url="https://help.aliyun.com/zh/model-studio/",
|
|
env_vars=("ALIBABA_CODING_PLAN_API_KEY", "DASHSCOPE_API_KEY", "ALIBABA_CODING_PLAN_BASE_URL"),
|
|
base_url="https://coding-intl.dashscope.aliyuncs.com/v1",
|
|
auth_type="api_key",
|
|
)
|
|
|
|
register_provider(alibaba_coding_plan)
|