GuglielmoTor commited on
Commit
bae76b8
·
verified ·
1 Parent(s): f7e8fb4

Update run_agentic_pipeline.py

Browse files
Files changed (1) hide show
  1. run_agentic_pipeline.py +2 -1
run_agentic_pipeline.py CHANGED
@@ -246,8 +246,9 @@ async def run_agentic_pipeline_autonomously(current_token_state_val, orchestrati
246
  logging.error(f"error saving report {e}")
247
 
248
  actionable_okrs = orchestration_output.get('actionable_okrs_and_tasks') # This is the dict containing 'okrs' list
 
249
  try:
250
- save_actionable_okrs(org_urn, actionable_okrs, report_id)
251
  except Exception as e:
252
  logging.error(f"error saving report {e}")
253
 
 
246
  logging.error(f"error saving report {e}")
247
 
248
  actionable_okrs = orchestration_output.get('actionable_okrs_and_tasks') # This is the dict containing 'okrs' list
249
+ metrics = orchestration_output.get('detailed_metrics')
250
  try:
251
+ save_actionable_okrs(org_urn, actionable_okrs, report_id, metrics)
252
  except Exception as e:
253
  logging.error(f"error saving report {e}")
254