refactor: simplify cross-session messaging
This commit is contained in:
1 parent
0e184965e8
commit
251a1ccd40
78 files changed
+1578
-7569
No files matched your search
@@ -175,9 +175,6 @@ class AgentRunner:
|
||||
and not is_hidden_history_message(injection)
|
||||
and not is_hidden_history_message(messages[-1])
|
||||
and allows_conversation_message_merge(messages[-1])
|
||||
and allows_conversation_message_merge(injection)
|
||||
and set(messages[-1]).issubset({"role", "content", "_meta"})
|
||||
and set(injection).issubset({"role", "content", "_meta"})
|
||||
):
|
||||
merged = dict(messages[-1])
|
||||
left_meta = merged.get("_meta")
|
||||
|
||||
Reference in new issue
Block a user