improves Goggles handling across project

This commit is contained in:
Sampson committed 2026-04-25 19:38:23 -05:00
1 parent e878c58a71
commit c7d2d14ef2
4 files changed
+23 -11

No files matched your search

+2 -2
View File
@@ -75,9 +75,9 @@ export const params = z.object({
)
.optional(),
goggles: z
.array(z.string())
.union([z.string(), z.array(z.string())])
.describe(
"Goggles act as a custom re-ranking on top of Brave's search index. The parameter supports both a url where the Goggle is hosted or the definition of the Goggle. For more details, refer to the Goggles repository (i.e., https://github.com/brave/goggles-quickstart)."
"Goggles act as a custom re-ranking on top of Brave's search index. The parameter supports both a url where the Goggle is hosted or the definition of the Goggle. Multiple goggle URLs and/or definitions can be provided in an array. For more details, refer to the Goggles repository (i.e., https://github.com/brave/goggles-quickstart)."
)
.optional(),
});