autonomy phase 2.5 - tightening up some stuff in the pipeline

This commit is contained in:
serversdwn
2025-12-15 01:56:57 -05:00
parent 193bf814ec
commit d4fd393f52
3 changed files with 47 additions and 12 deletions

View File

@@ -301,10 +301,9 @@ async def run_reason(req: ReasonRequest):
if proactive_enabled:
try:
from autonomy.proactive.monitor import get_proactive_monitor
from autonomy.self.state import load_self_state
monitor = get_proactive_monitor(min_priority=proactive_min_priority)
self_state = load_self_state()
self_state = load_self_state() # Already imported at top of file
suggestion = await monitor.analyze_session(
session_id=req.session_id,