mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-13 00:58:59 +08:00
feat(extraction-service): highlight req schema generation
This commit is contained in:
parent
9da51a7514
commit
5d56627bfa
@ -282,6 +282,7 @@ export async function performExtraction(
|
|||||||
let reqSchema = request.schema;
|
let reqSchema = request.schema;
|
||||||
if (!reqSchema && request.prompt) {
|
if (!reqSchema && request.prompt) {
|
||||||
reqSchema = await generateSchemaFromPrompt(request.prompt);
|
reqSchema = await generateSchemaFromPrompt(request.prompt);
|
||||||
|
logger.debug("Generated request schema.", { originalSchema: request.schema, schema: reqSchema });
|
||||||
}
|
}
|
||||||
|
|
||||||
if (reqSchema) {
|
if (reqSchema) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user