fix(*): 模型请求协议 - 支持模型独立选协议并修正视频多参考请求
This commit is contained in:
1 parent
7093b4e161
commit
e3c501620d
20 files changed
+691
-190
No files matched your search
@@ -356,8 +356,7 @@ export function buildGenerationConfig(config: AiConfig, node: CanvasNodeData | u
|
||||
|
||||
export function supportsVideoReferenceAudio(config: AiConfig) {
|
||||
const interfaceType = resolveModelRequestConfig(config, config.model).interfaceType;
|
||||
if (interfaceType === "newapi-channel-2") return false;
|
||||
return interfaceType === "newapi-channel-1" || isSeedanceVideoConfig(config);
|
||||
return interfaceType === "newapi-channel-1" || interfaceType === "newapi-channel-2" || isSeedanceVideoConfig(config);
|
||||
}
|
||||
|
||||
export function resetInterruptedGeneration(nodes: CanvasNodeData[]) {
|
||||
|
||||
Reference in new issue
Block a user