feat(*): 模型计费与渠道目录 - 支持视频 Token 报价结算和稳定模型展示
This commit is contained in:
1 parent
90add8c466
commit
1a79005d25
57 files changed
+2904
-341
No files matched your search
@@ -279,8 +279,8 @@ func TestSupportsLogicalModelTokenBillingForArkVideoRoutes(t *testing.T) {
|
||||
if supportsLogicalModelTokenBilling("video", nil) {
|
||||
t.Fatal("video logical models without an enabled route must not support Token billing")
|
||||
}
|
||||
if supportsLogicalModelTokenBilling("video", []model.ChannelInterfaceType{model.ChannelInterfaceVolcengineArkVideo, model.ChannelInterfaceNewAPIVideo}) {
|
||||
t.Fatal("mixed video protocols must not support Token billing")
|
||||
if !supportsLogicalModelTokenBilling("video", []model.ChannelInterfaceType{model.ChannelInterfaceVolcengineArkVideo, model.ChannelInterfaceNewAPIVideo}) {
|
||||
t.Fatal("all video protocols must support Token billing")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user