Skip to content

An AI-powered search engine with a generative UI

style: apply prettier formatting

Yoshiki Miura83757722ae13
diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md
index 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 support
diff --git a/lib/schema/search.tsx b/lib/schema/search.tsx
index 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 required
export 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(