fix(scrapeURL/llmExtract): fix schema-less JSON mode

This commit is contained in:
Gergő Móricz 2025-04-18 10:25:18 -07:00
parent e583fddeb4
commit 3caeaae074

View File

@ -840,6 +840,7 @@ export async function generateSchemaFromPrompt(
}),
model,
retryModel,
markdown: "",
options: {
mode: "llm",
systemPrompt: `You are a schema generator for a web scraping system. Generate a JSON schema based on the user's prompt.