Make prompt not required for extract on python sdk

This commit is contained in:
Eric Ciarla 2025-01-18 17:06:28 -03:00
parent 146dc47954
commit 3363b2d60e

View File

@ -599,8 +599,8 @@ class FirecrawlApp:
"""
headers = self._prepare_headers()
if not params or not params.get('prompt'):
raise ValueError("Prompt is required")
#if not params or not params.get('prompt'):
# raise ValueError("Prompt is required")
schema = params.get('schema')
if schema: