refactor(prompt): 优化任务等待机制并改进数据结构

This commit is contained in:
2026-05-21 14:23:34 +08:00
parent 4626d819b5
commit b6cdb8ff1d
2 changed files with 1 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ func UploadByTask(ctx context.Context, _ *entity.AsynchTask, data []byte, fileEx
return "", err
}
contentType := writer.FormDataContentType()
if err := writer.Close(); err != nil {
if err = writer.Close(); err != nil {
return "", err
}