From 5ede985a3a53b78f4d0954ee8df85d1c0d777a39 Mon Sep 17 00:00:00 2001 From: donteatfriedrice Date: Fri, 12 Jul 2024 06:36:30 +0000 Subject: [PATCH] fix: increase image action time out (#7487) Increase image action timeout from 50000ms to 120000ms. --- .../blocksuite/block-suite-editor/ai/setup-provider.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/frontend/core/src/components/blocksuite/block-suite-editor/ai/setup-provider.tsx b/packages/frontend/core/src/components/blocksuite/block-suite-editor/ai/setup-provider.tsx index ddb08c7a50..93e692f629 100644 --- a/packages/frontend/core/src/components/blocksuite/block-suite-editor/ai/setup-provider.tsx +++ b/packages/frontend/core/src/components/blocksuite/block-suite-editor/ai/setup-provider.tsx @@ -356,6 +356,7 @@ Could you make a new website based on these notes and send back just the html fi ) as PromptKey; return toImage({ ...options, + timeout: 120000, promptName, }); }); @@ -367,6 +368,7 @@ Could you make a new website based on these notes and send back just the html fi ) as PromptKey; return toImage({ ...options, + timeout: 120000, promptName, }); });