fix(agent): keep runtime context within its lifecycle

This commit is contained in:
Xubin Ren
2026-07-12 00:35:17 +08:00
parent c339ce8bba
commit 01e4f3762a
6 changed files with 116 additions and 5 deletions
+1 -1
View File
@@ -746,7 +746,7 @@ class SessionManager:
found_target = True
break
user_index += 1
copied.append(deepcopy(message))
copied.append(public_history_message(message))
if user_index == before_user_index:
found_target = True
if not found_target: