feat(box): enable real-time agent tool triggers and capabilities expansion

This commit is contained in:
operator
2026-10-05 03:41:43 +00:00
parent 0e99e31fe9
commit 31c03e0d0f
5 changed files with 425 additions and 48 deletions
+2 -1
View File
@@ -486,12 +486,13 @@ def main():
import muse_hybrid
res, err = muse_hybrid.start_session(agent, title=channel_title)
if res and not err and res.get("session_id"):
new_uuid = res.get("session_id")
key_to_save = reuse_key or sc_name
is_persistent = bool(reuse_key)
sc_state[key_to_save] = {
"thread_uuid": new_uuid,
"agent": agent,
"title": channel_title,
"type": "persistent" if is_persistent else "ephemeral",
"created_at": datetime.now(timezone.utc).isoformat()
}
save_sidechat_state(sc_state)