feat(webui): add lightweight session messaging via mentions
This commit is contained in:
1 parent
2bdb11eeba
commit
0e184965e8
76 files changed
+8297
-658
No files matched your search
@@ -175,6 +175,9 @@ 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