fix: vertex ai video proxy and task polling improvements

This commit is contained in:
Seefs committed 2026-02-27 18:47:47 +08:00
1 parent b16eb88133
commit a33a3eae87
2 files changed
+9 -1

No files matched your search

+1
View File
@@ -421,6 +421,7 @@ func updateVideoSingleTask(ctx context.Context, adaptor TaskPollingAdaptor, ch *
}
if strings.HasPrefix(taskResult.Url, "data:") {
// data: URI (e.g. Vertex base64 encoded video) — keep in Data, not in ResultURL
task.PrivateData.ResultURL = taskcommon.BuildProxyURL(task.TaskID)
} else if taskResult.Url != "" {
// Direct upstream URL (e.g. Kling, Ali, Doubao, etc.)
task.PrivateData.ResultURL = taskResult.Url