Spaces:
Sleeping
Sleeping
Update services/state_manager.py
Browse files
services/state_manager.py
CHANGED
@@ -169,7 +169,7 @@ def process_and_store_bubble_token(url_user_token, org_urn, token_state):
|
|
169 |
else:
|
170 |
should_run_due_to_no_data = True # No data at all
|
171 |
|
172 |
-
if should_run_due_to_no_data:
|
173 |
logging.info(f"No existing agentic analysis data found for org {current_org_urn}. Triggering run.")
|
174 |
new_state["agentic_pipeline_should_run_now"] = True
|
175 |
else:
|
|
|
169 |
else:
|
170 |
should_run_due_to_no_data = True # No data at all
|
171 |
|
172 |
+
if should_run_due_to_no_data.any():
|
173 |
logging.info(f"No existing agentic analysis data found for org {current_org_urn}. Triggering run.")
|
174 |
new_state["agentic_pipeline_should_run_now"] = True
|
175 |
else:
|