fix(models): 模型规格价格 - 修复主线兼容与参考图 SKU 匹配
This commit is contained in:
1 parent
c5e2312968
commit
f4b62b8e11
9 files changed
+112
-46
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user