mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-07-31 20:42: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
|
// TODO: remove the "required" fields here!! it breaks o3-mini
|
||||||
|
|
||||||
if (!schema && extractOptions.options.prompt) {
|
if (!schema && extractOptions.options.prompt) {
|
||||||
logger.info("Generating schema from prompt");
|
|
||||||
const genRes = await generateSchemaFromPrompt(extractOptions.options.prompt, logger);
|
const genRes = await generateSchemaFromPrompt(extractOptions.options.prompt, logger);
|
||||||
otherCallCount++;
|
otherCallCount++;
|
||||||
otherCost += genRes.cost;
|
otherCost += genRes.cost;
|
||||||
@ -229,6 +228,9 @@ export async function extractData({
|
|||||||
};
|
};
|
||||||
// console.log("schema", schema);
|
// console.log("schema", schema);
|
||||||
// console.log("schemaToUse", schemaToUse);
|
// console.log("schemaToUse", schemaToUse);
|
||||||
|
logger.info("Generated schema from prompt", {
|
||||||
|
schemaToUse,
|
||||||
|
});
|
||||||
|
|
||||||
let extract: any,
|
let extract: any,
|
||||||
warning: string | undefined,
|
warning: string | undefined,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user