An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
style: apply prettier formatting
Yoshiki Miura83757722ae13
diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.mdindex 0baa5f11..0c1a0ac2 100644--- a/docs/CONFIGURATION.md+++ b/docs/CONFIGURATION.md@@ -136,6 +136,7 @@ BRAVE_SEARCH_API_KEY=[YOUR_BRAVE_SEARCH_API_KEY]Get your API key at: https://brave.com/search/api/**Features:**+- Multiple content types in single search (web, video, image, news)- Optimized for multimedia content with thumbnails- Direct video duration and metadata supportdiff --git a/lib/schema/search.tsx b/lib/schema/search.tsxindex 689c74a7..ff13a19e 100644--- a/lib/schema/search.tsx+++ b/lib/schema/search.tsx@@ -48,9 +48,7 @@ export const searchSchema = z.object({// Strict schema with all fields requiredexport const strictSearchSchema = z.object({query: z.string().describe('The query to search for'),- type: z- .enum(['general', 'optimized'])- .describe(getSearchTypeDescription()),+ type: z.enum(['general', 'optimized']).describe(getSearchTypeDescription()),content_types: z.array(z.enum(['web', 'video', 'image', 'news'])).describe(