From 9b28e7313ffe4ca77f89a28601a0b4511dbe4a04 Mon Sep 17 00:00:00 2001 From: pengx17 Date: Tue, 30 Apr 2024 03:33:09 +0000 Subject: [PATCH] fix(core): make it real action (#6745) --- .../components/blocksuite/block-suite-editor/ai/provider.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/frontend/core/src/components/blocksuite/block-suite-editor/ai/provider.tsx b/packages/frontend/core/src/components/blocksuite/block-suite-editor/ai/provider.tsx index 275ce2f5c2..a0ec359c09 100644 --- a/packages/frontend/core/src/components/blocksuite/block-suite-editor/ai/provider.tsx +++ b/packages/frontend/core/src/components/blocksuite/block-suite-editor/ai/provider.tsx @@ -287,10 +287,9 @@ export function setupAIProvider() { }); provideAction('makeItReal', options => { - return toImage({ + return textToText({ ...options, promptName: 'Make it real', - seed: options.seed, content: options.content || 'Here are the latest wireframes. Could you make a new website based on these wireframes and notes and send back just the html file?',