Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: increase image action time out (#7487)

donteatfriedrice5ede985a3a53
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,
});
});