Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

feat(extraction-service): highlight req schema generation

Gergő Móricz5d56627bfaaa
diff --git a/apps/api/src/lib/extract/extraction-service.ts b/apps/api/src/lib/extract/extraction-service.ts
index fbc46da0f..06772b9f2 100644
--- a/apps/api/src/lib/extract/extraction-service.ts
+++ b/apps/api/src/lib/extract/extraction-service.ts
@@ -282,6 +282,7 @@ export async function performExtraction(
let reqSchema = request.schema;
if (!reqSchema && request.prompt) {
reqSchema = await generateSchemaFromPrompt(request.prompt);
+ logger.debug("Generated request schema.", { originalSchema: request.schema, schema: reqSchema });
}
if (reqSchema) {