From 01c9b726484b2fc294fea86c0d39172ac954468d Mon Sep 17 00:00:00 2001 From: maiconcarraro Date: Wed, 25 Sep 2024 12:06:20 -0300 Subject: [PATCH] fix: remove stream use for smart form --- app/smart-form/page.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/app/smart-form/page.tsx b/app/smart-form/page.tsx index faf1616..b5be08a 100644 --- a/app/smart-form/page.tsx +++ b/app/smart-form/page.tsx @@ -81,7 +81,6 @@ const SmartForm: React.FC = () => { const { isGenerating } = useAIModel(model, { schema, messages, - stream: true, onSuccess: (chunk) => { console.log(chunk); form.reset(chunk);