Channels
Channels are configuration units that connect CloudAIKit to upstream service providers. The platform selects the actual upstream based on groups, models, weights, priorities, availability status, and failure retry policies.
Key Channel Configuration Points
When creating or editing a channel, at minimum confirm the upstream type, upstream address, key, model list, and visible groups. Field names may vary between channels; the actual available fields are determined by the console page.
| Configuration Item | Function | Troubleshooting Focus |
|---|---|---|
| Type | Select an upstream protocol such as OpenAI or Gemini | Whether it matches the upstream interface format |
| Base URL | Specify the upstream service address | Whether it contains an incorrect version path or extra slash |
| Key | Upstream authentication key | Whether it is valid, expired, or over its quota |
| Models | Declare the models that the channel can process | Whether the model name matches the model in the request |
| Groups | Control which users can use it | Whether the current user group is included |
| Weight/Priority | Participate in routing selection | Whether it is disabled, rate-limited, or marked as abnormal by health checks |
Pre-Launch Checks
- Use a test Token to request
GET /v1/modelsand confirm that the target model is visible. - Send a minimal chat request using the target model and confirm that the channel returns a result.
- Check the logs to confirm the channel actually selected, response latency, and upstream status.
- Prepare at least one backup channel for the production environment, and restrict the user groups of test channels.
OpenAI, Gemini, and other channel types are currently confirmed to be supported. The specific available types and fields depend on the console of the currently deployed version.
