mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-05 20:16:03 +08:00
feat(v1/Document): add warning field
This commit is contained in:
parent
095babe70b
commit
29815e084b
@ -216,6 +216,7 @@ export type Document = {
|
||||
actions?: {
|
||||
screenshots: string[];
|
||||
};
|
||||
warning?: string;
|
||||
metadata: {
|
||||
title?: string;
|
||||
description?: string;
|
||||
@ -443,6 +444,7 @@ export function legacyDocumentConverter(doc: any): Document {
|
||||
extract: doc.llm_extraction,
|
||||
screenshot: doc.screenshot ?? doc.fullPageScreenshot,
|
||||
actions: doc.actions ?? undefined,
|
||||
warning: doc.warning,
|
||||
metadata: {
|
||||
...doc.metadata,
|
||||
pageError: undefined,
|
||||
|
Loading…
x
Reference in New Issue
Block a user