it worked!

This commit is contained in:
rafaelmmiller 2025-04-03 17:56:14 -03:00
parent 9786bc2fc0
commit 4859078965

View File

@ -6,6 +6,7 @@ import {
} from "../transformers/llmExtract"; } from "../transformers/llmExtract";
import { smartScrape } from "./smartScrape"; import { smartScrape } from "./smartScrape";
import { parseMarkdown } from "../../../lib/html-to-markdown"; import { parseMarkdown } from "../../../lib/html-to-markdown";
import { getModel } from "../../../lib/generic-ai";
const commonSmartScrapeProperties = { const commonSmartScrapeProperties = {
shouldUseSmartscrape: { shouldUseSmartscrape: {
@ -199,7 +200,7 @@ export async function extractData({
try { try {
const { extract: x, warning: y, totalUsage: z } = await generateCompletions( const { extract: x, warning: y, totalUsage: z } = await generateCompletions(
extractOptionsNewSchema, { ...extractOptionsNewSchema, model: getModel("gemini-2.5-pro-exp-03-25", "google") }
); );
extract = x; extract = x;
warning = y; warning = y;