conductor: tag pushed user messages with [用户消息]
This commit is contained in:
1 parent
4ca9028350
commit
a7f55b8442
1 file changed
+1
-1
@@ -492,7 +492,7 @@ class Conductor:
|
||||
if kind == "user_message":
|
||||
msgs = self._pending = [m for m in chat_messages if m.get("role") == "user" and not m.get("read")]
|
||||
if not msgs: return None
|
||||
return "\n\n".join(m["msg"] + "".join(f"\n附件: `{f['path']}`" for f in m.get("files") or [] if f.get("path")) for m in msgs)
|
||||
return "[用户消息]\n" + "\n\n".join(m["msg"] + "".join(f"\n附件: `{f['path']}`" for f in m.get("files") or [] if f.get("path")) for m in msgs)
|
||||
running, stopped = pool.counts()
|
||||
done_count = sum(1 for e in events if e.get("type") == "subagent_done")
|
||||
im_sources = [e.get("source") for e in events if e.get("type") == "im_signal"]
|
||||
|
||||
Reference in new issue
Block a user