fix(harvester): include autonomy-pulse sidechats in conversational nudge scope
This commit is contained in:
@@ -974,7 +974,7 @@ def maybe_nudge_untagged_sidechat(agent, thread_id, thread_name, mid, text, dry_
|
|||||||
sc_state = json.loads(JOB_SIDECHATS_FILE.read_text(encoding="utf-8"))
|
sc_state = json.loads(JOB_SIDECHATS_FILE.read_text(encoding="utf-8"))
|
||||||
for k, v in sc_state.items():
|
for k, v in sc_state.items():
|
||||||
if isinstance(v, dict) and v.get("thread_uuid") == thread_id:
|
if isinstance(v, dict) and v.get("thread_uuid") == thread_id:
|
||||||
if k.startswith(("box-", "job-", "pipe-")):
|
if k.startswith(("box-", "job-", "pipe-", "autonomy-pulse-")):
|
||||||
matching_job_id = k
|
matching_job_id = k
|
||||||
break
|
break
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|||||||
Reference in New Issue
Block a user