feat(extract): add original schema to logs

This commit is contained in:
Móricz Gergő 2025-01-23 14:59:54 +01:00
parent 561f0186ef
commit 9da51a7514

View File

@ -288,7 +288,7 @@ export async function performExtraction(
reqSchema = await dereferenceSchema(reqSchema);
}
logger.debug("Transformed schema.", { schema: reqSchema });
logger.debug("Transformed schema.", { originalSchema: request.schema, schema: reqSchema });
// agent evaluates if the schema or the prompt has an array with big amount of items
// also it checks if the schema any other properties that are not arrays