fix(canvas): 模型选择 - 按系统渠道聚合模型一级菜单

Co-authored-by: lmj15657306288-ui <lmj15657306288-ui@users.noreply.github.com>

Co-authored-by: ZW-Hao <ZW-Hao@users.noreply.github.com>
This commit is contained in:
ddCat
2026-09-19 07:18:01 +08:00
parent c4086a2c55
commit 2e5092285a
5 changed files with 43 additions and 41 deletions

View File

@@ -32,10 +32,10 @@ paths:
summary: 获取创作端模型目录
description: |
source=system 时读取 channels,source=frontend 时读取 models;两个集合始终为数组。
系统渠道模型按 capability + modelKey 分组展示,每条渠道选择及其价格保持独立。
系统渠道模型按渠道聚合展示,渠道内模型保持独立选择及价格;模型请求仍使用 channelId + modelKey 定位。
channelLabel 是后台渠道模型创建和更新时配置的公开渠道展示名,去除首尾空白后最多 80 字,空字符串表示使用渠道公开名称。
description 是后台渠道模型创建和更新时填写的公开模型描述,去除首尾空白后最多 500 字;空字符串表示未填写。
displayName 和 icon 用于产品模型一级菜单,channelLabel 不参与路由、权限或计费。
displayName 和 icon 用于渠道内模型菜单,channelLabel 不参与路由、权限或计费。
responses:
"200":
description: 当前启用的模型目录