chore: 移除智谱 GLM 供应商(GLM 模型 + CogView/CogVideoX 媒体 + 契约代码/前端/文档/测试全清)

This commit is contained in:
api-gateway committed 2026-09-18 09:50:26 +08:00
1 parent d838763f35
commit a7e2692dec
16 files changed
+79 -288

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ export function findVideoUrl(obj: any): string {
return ''
}
if (typeof obj === 'object') {
for (const k of ['video_result', 'video_url', 'play_url', 'url', 'html_url', 'video', 'media_url', 'result', 'data', 'mp4']) {
for (const k of ['video_url', 'play_url', 'url', 'html_url', 'video', 'media_url', 'result', 'data', 'mp4']) {
if (k in obj) { const u = findVideoUrl(obj[k]); if (u) return u }
}
for (const v of Object.values(obj)) { const u = findVideoUrl(v); if (u) return u }