Skip to content

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

force 2.5

Gergő Móriczba4df67de783
diff --git a/apps/api/src/lib/extract/completions/batchExtract.ts b/apps/api/src/lib/extract/completions/batchExtract.ts
index 7e254a0ff..c57bcd7a4 100644
--- a/apps/api/src/lib/extract/completions/batchExtract.ts
+++ b/apps/api/src/lib/extract/completions/batchExtract.ts
@@ -73,7 +73,8 @@ export async function batchExtractPromise(options: BatchExtractOptions, logger:
},
markdown: buildDocument(doc),
isExtractEndpoint: true,
- model: getModel("gemini-2.0-flash", "google"),
+ model: getModel("gemini-2.5-pro-preview-03-25", "vertex"),
+ retryModel: getModel("gemini-2.5-pro-preview-03-25", "google"),
};
let extractedDataArray: any[] = [];