firecrawl 1.13.1__tar.gz → 1.13.3__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.13.1 → firecrawl-1.13.3}/PKG-INFO +1 -1
- {firecrawl-1.13.1 → firecrawl-1.13.3}/firecrawl/__init__.py +1 -1
- {firecrawl-1.13.1 → firecrawl-1.13.3}/firecrawl/firecrawl.py +10 -2
- {firecrawl-1.13.1 → firecrawl-1.13.3}/firecrawl.egg-info/PKG-INFO +1 -1
- {firecrawl-1.13.1 → firecrawl-1.13.3}/LICENSE +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.3}/README.md +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.3}/firecrawl/__tests__/e2e_withAuth/__init__.py +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.3}/firecrawl/__tests__/e2e_withAuth/test.py +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.3}/firecrawl/__tests__/v1/e2e_withAuth/__init__.py +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.3}/firecrawl/__tests__/v1/e2e_withAuth/test.py +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.3}/firecrawl.egg-info/SOURCES.txt +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.3}/firecrawl.egg-info/dependency_links.txt +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.3}/firecrawl.egg-info/requires.txt +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.3}/firecrawl.egg-info/top_level.txt +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.3}/pyproject.toml +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.3}/setup.cfg +0 -0
- {firecrawl-1.13.1 → firecrawl-1.13.3}/setup.py +0 -0
|
@@ -675,6 +675,7 @@ class FirecrawlApp:
|
|
|
675
675
|
'allowExternalLinks': params.get('allow_external_links', params.get('allowExternalLinks', False)),
|
|
676
676
|
'enableWebSearch': params.get('enable_web_search', params.get('enableWebSearch', False)),
|
|
677
677
|
'showSources': params.get('show_sources', params.get('showSources', False)),
|
|
678
|
+
'systemPrompt': params.get('system_prompt', params.get('systemPrompt', None)),
|
|
678
679
|
'schema': schema,
|
|
679
680
|
'origin': 'api-sdk'
|
|
680
681
|
}
|
|
@@ -1128,16 +1129,23 @@ class FirecrawlApp:
|
|
|
1128
1129
|
return response
|
|
1129
1130
|
|
|
1130
1131
|
job_id = response['id']
|
|
1132
|
+
last_activity_count = 0
|
|
1133
|
+
last_source_count = 0
|
|
1134
|
+
|
|
1131
1135
|
while True:
|
|
1132
1136
|
status = self.check_deep_research_status(job_id)
|
|
1133
1137
|
|
|
1134
1138
|
if on_activity and 'activities' in status:
|
|
1135
|
-
|
|
1139
|
+
new_activities = status['activities'][last_activity_count:]
|
|
1140
|
+
for activity in new_activities:
|
|
1136
1141
|
on_activity(activity)
|
|
1142
|
+
last_activity_count = len(status['activities'])
|
|
1137
1143
|
|
|
1138
1144
|
if on_source and 'sources' in status:
|
|
1139
|
-
|
|
1145
|
+
new_sources = status['sources'][last_source_count:]
|
|
1146
|
+
for source in new_sources:
|
|
1140
1147
|
on_source(source)
|
|
1148
|
+
last_source_count = len(status['sources'])
|
|
1141
1149
|
|
|
1142
1150
|
if status['status'] == 'completed':
|
|
1143
1151
|
return status
|
|
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
|