An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
Refactor chat component padding and update experimental transform in researcher agents
Yoshiki Miura8350e12b8062
diff --git a/components/chat.tsx b/components/chat.tsxindex e6c5be89..d56ecf28 100644--- a/components/chat.tsx+++ b/components/chat.tsx@@ -63,7 +63,7 @@ export function Chat({}return (- <div className="flex flex-col w-full max-w-3xl pt-14 pb-40 mx-auto stretch">+ <div className="flex flex-col w-full max-w-3xl pt-14 pb-32 mx-auto stretch"><ChatMessagesmessages={messages}data={data}diff --git a/lib/agents/manual-researcher.ts b/lib/agents/manual-researcher.tsindex e8cef2e9..ce7a5613 100644--- a/lib/agents/manual-researcher.ts+++ b/lib/agents/manual-researcher.ts@@ -61,7 +61,7 @@ export function manualResearcher({temperature: 0.6,topP: 1,topK: 40,- experimental_transform: smoothStream({ chunking: 'word' })+ experimental_transform: smoothStream()}} catch (error) {console.error('Error in manualResearcher:', error)diff --git a/lib/agents/researcher.ts b/lib/agents/researcher.tsindex f42996b4..7ceead36 100644--- a/lib/agents/researcher.ts+++ b/lib/agents/researcher.ts@@ -50,7 +50,7 @@ export function researcher({? ['search', 'retrieve', 'videoSearch']: [],maxSteps: searchMode ? 5 : 1,- experimental_transform: smoothStream({ chunking: 'word' })+ experimental_transform: smoothStream()}} catch (error) {console.error('Error in chatResearcher:', error)