Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

extract: ignore invalid by default

Gergő Móriczc07b8836910f
diff --git a/apps/api/src/controllers/v2/types.ts b/apps/api/src/controllers/v2/types.ts
index ade1edced..24a2bc01a 100644
--- a/apps/api/src/controllers/v2/types.ts
+++ b/apps/api/src/controllers/v2/types.ts
@@ -436,7 +436,7 @@ export const extractOptions = z
.default("direct")
.optional(),
__experimental_showCostTracking: z.boolean().default(false),
- ignoreInvalidURLs: z.boolean().default(false),
+ ignoreInvalidURLs: z.boolean().default(true),
})
.strict(strictMessage)
.refine((obj) => obj.urls || obj.prompt, {