Update types.ts

This commit is contained in:
Nicolas 2024-10-01 15:18:11 -03:00
parent 8aa07afb6d
commit 37299fc035

View File

@ -445,7 +445,7 @@ export function legacyDocumentConverter(doc: any): Document {
extract: doc.llm_extraction,
screenshot: doc.screenshot ?? doc.fullPageScreenshot,
actions: doc.actions ?? undefined,
warning: doc.warning,
warning: doc.warning ?? undefined,
metadata: {
...doc.metadata,
pageError: undefined,