feat(webui): add lightweight session messaging via mentions

This commit is contained in:
chengyongru authored and chengyongru committed 2026-08-19 01:15:56 +08:00
1 parent 2bdb11eeba
commit 0e184965e8
76 files changed
+8297 -658

No files matched your search

+3
View File
@@ -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")