Skip to content

Model Sources ​

Target Outcome ​

Provider endpoints, regions, documentation URLs, and authentication-header templates are reusable without storing a real API key.

Applicable Roles ​

  • Platform Operator

Before You Start ​

  • Confirm the provider Base URL, supported regions, API-key page, and API documentation.
  • Use placeholders in authentication-header templates and never enter a real credential.

Procedure ​

  1. From the platform home page, select Model Sources in the left navigation.
  2. Select Add in the upper-right corner.

Review the model-source list

  1. Under Basic Information:
    • Maintain the localized model-source name on the English and Chinese tabs, such as Alibaba and 阿里巴巴.
    • Enter a stable Model Source Identifier, such as alibaba-china.

Configure model-source basic information

  1. Under Region Information, add one row for each supported region:
    • Enter the region identifier, such as china.
    • Maintain localized English and Chinese region names.
    • Enter the provider Base URL.
    • Enter the official API Key URL.
    • Enter the official API Documentation URL.
    • Use Delete to remove a region or + Add Region to add another.

Configure regional endpoints

  1. Under Request Headers, keep the default Authorization: Bearer <key> template or add required custom headers. Use placeholders only.

Configure request-header templates

  1. Review the configuration and select Confirm, or Cancel to discard it.

Parameter Reference ​

FieldTypeExampleDescription
NameLocalized textAlibaba / 阿里巴巴Required; maintain English and Chinese values
Model Source IdentifierTextalibaba-chinaRequired; stable source identifier
Region IdentifierTextchinaRequired; stable regional-node identifier
Region NameLocalized textChina / 中国Required; maintain English and Chinese values
Base URLURLhttps://dashscope.aliyuncs.comRequired; model-service base URL
API Key URLURLhttps://bailian.console.aliyun.comOptional; official page for obtaining API keys
API Documentation URLURLhttps://bailian.console.aliyun.com/cn-beiOptional; official model-service documentation
Authentication Header NameTextAuthorizationOptional; authentication-header key
Authentication ValueTextBearer <key>Optional; placeholder template, never a real key

Completion Checklist ​

Purpose: These are the exit criteria for the current feature task. Use them to decide whether the result is observable and reviewable and whether you can continue to the next step in the scenario. They do not repeat the procedure; if any item fails, follow the troubleshooting section below.

CheckPass Criteria
1Name, unique identifier, region, and Base URL are accurate.
2Request headers use placeholders and do not store a real API key.
3Model templates can select the source and region.

Troubleshooting ​

SymptomCheck First
Connectivity testing failsBase URL, region, network route, header template, and provider state
Templates cannot use the sourceSource status, unique identifier, region, and provider mapping

User Manual ​

Review complete fields and common issues for Model Sources