20 lines
475 B
Python
20 lines
475 B
Python
"""Alibaba Cloud DashScope provider profile."""
|
|
|
|
from providers import register_provider
|
|
from providers.base import ProviderProfile
|
|
|
|
alibaba = ProviderProfile(
|
|
name="alibaba",
|
|
aliases=("dashscope", "alibaba-cloud", "qwen-dashscope"),
|
|
env_vars=("DASHSCOPE_API_KEY",),
|
|
base_url="https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
|
|
)
|
|
|
|
register_provider(alibaba)
|
|
|
|
|
|
def register(ctx):
|
|
"""No-op — this provider has no workspace package yet."""
|
|
pass
|
|
|