From c99c13471347d91a237030b46eb91c5c57e22d6c Mon Sep 17 00:00:00 2001 From: chiyi Date: Thu, 2 Jul 2026 12:03:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=87=8D=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/internal/provider/grok/video.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/internal/provider/grok/video.go b/backend/internal/provider/grok/video.go index f24679e..73e8550 100644 --- a/backend/internal/provider/grok/video.go +++ b/backend/internal/provider/grok/video.go @@ -71,7 +71,7 @@ func (c *Client) GenerateVideo(ctx context.Context, token, prompt, aspectRatio, // after only the conversation object — no progress events, no videoUrl. This // is transient, so retry the whole create-post + stream a few times before // giving up. Real out-of-credits / auth errors are returned immediately. - const maxAttempts = 3 + const maxAttempts = 5 var ( postID string artifact string