From c69aed717d58ecebb4b0425a5bce4d8603bcc2ac Mon Sep 17 00:00:00 2001 From: qhd <1766646056@qq.com> Date: Fri, 14 Aug 2026 16:33:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A4=84=E7=90=86=20RequestCanceled=20?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E8=B0=83=E7=94=A8=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/task/worker.go | 1 + 1 file changed, 1 insertion(+) diff --git a/service/task/worker.go b/service/task/worker.go index e27d8c6..fa0b1ce 100644 --- a/service/task/worker.go +++ b/service/task/worker.go @@ -83,6 +83,7 @@ func (w *asyncWorker) handleOne(ctx context.Context, task *entity.ModelGatewayTa } // 模型调用失败 if !strings.Contains(err.Error(), "Timeout") && + !strings.Contains(err.Error(), "RequestCanceled") && !strings.Contains(err.Error(), "InternalServiceError") && !strings.Contains(err.Error(), "Invalid video_url") && !strings.Contains(err.Error(), "Invalid audio track") &&