Merge branch 'develop' of https://github.com/HBAI-Ltd/Toonflow-app into develop
This commit is contained in:
commit
baee581a83
4
data/vendor/klingai.ts
vendored
4
data/vendor/klingai.ts
vendored
@ -465,7 +465,7 @@ const videoRequest = async (config: VideoConfig, model: VideoModel): Promise<str
|
||||
const isStartEndRequired = currentMode.includes("startEndRequired");
|
||||
const isEndFrameOptional = currentMode.includes("endFrameOptional");
|
||||
const isStartFrameOptional = currentMode.includes("startFrameOptional");
|
||||
const hasMultiRef = currentMode.some((m) => Array.isArray(m));
|
||||
const hasMultiRef = Array.isArray(currentMode) && currentMode.some((m) => Array.isArray(m));
|
||||
|
||||
// 提取不同类型的引用
|
||||
const imageRefs = (config.referenceList || []).filter((r) => r.type === "image");
|
||||
@ -635,4 +635,4 @@ exports.videoRequest = videoRequest;
|
||||
exports.ttsRequest = ttsRequest;
|
||||
|
||||
// 这行代码用于确保当前文件被识别为模块,避免全局变量冲突
|
||||
export {};
|
||||
export {};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user