feat(*): 模型能力配置 - 支持模型级视频限制校验与协议管理
This commit is contained in:
1 parent
d023182b2f
commit
b518489fdd
36 files changed
+1692
-401
No files matched your search
@@ -21,6 +21,7 @@ export async function testChannelModelConnection(channel: ModelChannel, model: s
|
||||
protocol: testProtocol,
|
||||
billingMode: modelCost?.billingMode || "fixed_request",
|
||||
unitPriceMicrocredits: modelCost?.unitPriceMicrocredits || 0,
|
||||
capabilityConfig: modelCost?.capabilityConfig,
|
||||
},
|
||||
...(channel.modelCosts || []).filter((item) => item.model !== model),
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user