Spaces:
Running
Running
Update run_agentic_pipeline.py
Browse files- run_agentic_pipeline.py +3 -1
run_agentic_pipeline.py
CHANGED
@@ -167,9 +167,11 @@ async def run_agentic_pipeline_autonomously(current_token_state_val, orchestrati
|
|
167 |
|
168 |
if not current_token_state_val.get("agentic_pipeline_should_run_now", False):
|
169 |
logging.info("Fetching existing data from Bubble as pipeline run is not required.")
|
|
|
|
|
170 |
|
171 |
# Call the new function to get reconstructed data
|
172 |
-
retrieved_data = fetch_and_reconstruct_data_from_bubble(
|
173 |
|
174 |
if not retrieved_data:
|
175 |
logging.warning(f"No data found in Bubble for org_urn {org_urn}. Informing user.")
|
|
|
167 |
|
168 |
if not current_token_state_val.get("agentic_pipeline_should_run_now", False):
|
169 |
logging.info("Fetching existing data from Bubble as pipeline run is not required.")
|
170 |
+
|
171 |
+
report_df = current_token_state_val.get('bubble_agentic_analysis_data')
|
172 |
|
173 |
# Call the new function to get reconstructed data
|
174 |
+
retrieved_data = fetch_and_reconstruct_data_from_bubble(report_df)
|
175 |
|
176 |
if not retrieved_data:
|
177 |
logging.warning(f"No data found in Bubble for org_urn {org_urn}. Informing user.")
|