mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-11 20:58:59 +08:00
Nick: fixes py sdk
This commit is contained in:
parent
c514d14176
commit
7e7b7e10fe
@ -13,7 +13,7 @@ import os
|
||||
|
||||
from .firecrawl import FirecrawlApp # noqa
|
||||
|
||||
__version__ = "1.14.0"
|
||||
__version__ = "1.14.1"
|
||||
|
||||
# Define the logger for the Firecrawl project
|
||||
logger: logging.Logger = logging.getLogger("firecrawl")
|
||||
|
@ -681,6 +681,8 @@ class FirecrawlApp:
|
||||
'origin': 'api-sdk'
|
||||
}
|
||||
|
||||
if not request_data['urls']:
|
||||
request_data['urls'] = []
|
||||
# Only add prompt and systemPrompt if they exist
|
||||
if params.get('prompt'):
|
||||
request_data['prompt'] = params['prompt']
|
||||
|
Loading…
x
Reference in New Issue
Block a user