mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 13:44:58 +00:00
fix(auto-reply): prevent sender spoofing in group prompts
This commit is contained in:
@@ -107,7 +107,10 @@ describe("queue followups", () => {
|
||||
p.includes("[Queued messages while agent was busy]"),
|
||||
);
|
||||
expect(queuedPrompt).toBeTruthy();
|
||||
expect(queuedPrompt).toContain("[message_id: m-1]");
|
||||
// Message id hints are no longer exposed to the model prompt.
|
||||
expect(queuedPrompt).toContain("Queued #1");
|
||||
expect(queuedPrompt).toContain("first");
|
||||
expect(queuedPrompt).not.toContain("[message_id:");
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user