GuglielmoTor commited on
Commit
fb78a2f
·
verified ·
1 Parent(s): df5a49e

Update run_agentic_pipeline.py

Browse files
Files changed (1) hide show
  1. 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(org_urn)
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.")