feat(media): 作品保存恢复 - 按原任务重试交付并避免重复生成计费
This commit is contained in:
@@ -789,6 +789,9 @@ func finishProtocolResult(ctx context.Context, config providerConfig, mode strin
|
||||
if len(references) == 0 {
|
||||
return nil, errors.New("声明式协议已完成但没有返回媒体地址")
|
||||
}
|
||||
if output, handled, err := recoverProtocolMedia(ctx, config, mode, references); handled {
|
||||
return output, err
|
||||
}
|
||||
items := make([]interface{}, 0, len(references))
|
||||
for _, reference := range references {
|
||||
var data []byte
|
||||
|
||||
Reference in New Issue
Block a user