fix(models): 模型规格价格 - 修复主线兼容与参考图 SKU 匹配

This commit is contained in:
ddCat committed 2026-08-22 17:28:22 +08:00
1 parent c5e2312968
commit f4b62b8e11
9 files changed
+112 -46

No files matched your search

+3
View File
@@ -684,6 +684,9 @@ func skuSelectorForIntent(intent ModelRequestIntent) map[string]string {
}
switch normalizeCapability(intent.Capability) {
case "video":
if count := intent.Inputs["image"]; count > 0 {
selector["imageCount"] = strconv.Itoa(count)
}
if value := normalizeChannelModelTierResolution(fmt.Sprint(intent.Options["vquality"])); value != "*" {
selector["vquality"] = value
}