mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-07-31 00:12:02 +08:00
more logs
This commit is contained in:
parent
772a3ea751
commit
5ee2434c9d
@ -215,7 +215,6 @@ export async function extractData({
|
||||
// TODO: remove the "required" fields here!! it breaks o3-mini
|
||||
|
||||
if (!schema && extractOptions.options.prompt) {
|
||||
logger.info("Generating schema from prompt");
|
||||
const genRes = await generateSchemaFromPrompt(extractOptions.options.prompt, logger);
|
||||
otherCallCount++;
|
||||
otherCost += genRes.cost;
|
||||
@ -229,6 +228,9 @@ export async function extractData({
|
||||
};
|
||||
// console.log("schema", schema);
|
||||
// console.log("schemaToUse", schemaToUse);
|
||||
logger.info("Generated schema from prompt", {
|
||||
schemaToUse,
|
||||
});
|
||||
|
||||
let extract: any,
|
||||
warning: string | undefined,
|
||||
|
Loading…
x
Reference in New Issue
Block a user