firecrawl 1.16.0__tar.gz → 1.17.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of firecrawl might be problematic. Click here for more details.
- {firecrawl-1.16.0 → firecrawl-1.17.0}/PKG-INFO +1 -1
- {firecrawl-1.16.0 → firecrawl-1.17.0}/firecrawl/__init__.py +1 -1
- {firecrawl-1.16.0 → firecrawl-1.17.0}/firecrawl/firecrawl.py +9 -1
- {firecrawl-1.16.0 → firecrawl-1.17.0}/firecrawl.egg-info/PKG-INFO +1 -1
- {firecrawl-1.16.0 → firecrawl-1.17.0}/LICENSE +0 -0
- {firecrawl-1.16.0 → firecrawl-1.17.0}/README.md +0 -0
- {firecrawl-1.16.0 → firecrawl-1.17.0}/firecrawl/__tests__/e2e_withAuth/__init__.py +0 -0
- {firecrawl-1.16.0 → firecrawl-1.17.0}/firecrawl/__tests__/e2e_withAuth/test.py +0 -0
- {firecrawl-1.16.0 → firecrawl-1.17.0}/firecrawl/__tests__/v1/e2e_withAuth/__init__.py +0 -0
- {firecrawl-1.16.0 → firecrawl-1.17.0}/firecrawl/__tests__/v1/e2e_withAuth/test.py +0 -0
- {firecrawl-1.16.0 → firecrawl-1.17.0}/firecrawl.egg-info/SOURCES.txt +0 -0
- {firecrawl-1.16.0 → firecrawl-1.17.0}/firecrawl.egg-info/dependency_links.txt +0 -0
- {firecrawl-1.16.0 → firecrawl-1.17.0}/firecrawl.egg-info/requires.txt +0 -0
- {firecrawl-1.16.0 → firecrawl-1.17.0}/firecrawl.egg-info/top_level.txt +0 -0
- {firecrawl-1.16.0 → firecrawl-1.17.0}/pyproject.toml +0 -0
- {firecrawl-1.16.0 → firecrawl-1.17.0}/setup.cfg +0 -0
- {firecrawl-1.16.0 → firecrawl-1.17.0}/setup.py +0 -0
- {firecrawl-1.16.0 → firecrawl-1.17.0}/tests/test_change_tracking.py +0 -0
|
@@ -107,6 +107,7 @@ class FirecrawlApp:
|
|
|
107
107
|
# Just for backwards compatibility
|
|
108
108
|
enableWebSearch: Optional[bool] = False
|
|
109
109
|
show_sources: Optional[bool] = False
|
|
110
|
+
agent: Optional[Dict[str, Any]] = None
|
|
110
111
|
|
|
111
112
|
|
|
112
113
|
|
|
@@ -183,8 +184,12 @@ class FirecrawlApp:
|
|
|
183
184
|
|
|
184
185
|
# Include any other params directly at the top level of scrape_params
|
|
185
186
|
for key, value in params.items():
|
|
186
|
-
if key not in ['jsonOptions', 'changeTrackingOptions']:
|
|
187
|
+
if key not in ['jsonOptions', 'changeTrackingOptions', 'agent']:
|
|
187
188
|
scrape_params[key] = value
|
|
189
|
+
|
|
190
|
+
agent = params.get('agent')
|
|
191
|
+
if agent:
|
|
192
|
+
scrape_params['agent'] = agent
|
|
188
193
|
|
|
189
194
|
|
|
190
195
|
endpoint = f'/v1/scrape'
|
|
@@ -706,6 +711,9 @@ class FirecrawlApp:
|
|
|
706
711
|
request_data['systemPrompt'] = params['system_prompt']
|
|
707
712
|
elif params.get('systemPrompt'): # Check legacy field name
|
|
708
713
|
request_data['systemPrompt'] = params['systemPrompt']
|
|
714
|
+
|
|
715
|
+
if params.get('agent'):
|
|
716
|
+
request_data['agent'] = params['agent']
|
|
709
717
|
|
|
710
718
|
try:
|
|
711
719
|
# Send the initial extract request
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|