test: align group prompt invariant · openclaw/openclaw@91a165c
steipete
·
2026-04-24
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -62,9 +62,9 @@ describe("prompt composition invariants", () => {
|
62 | 62 | const steady = getTurn(groupScenario!, "t2"); |
63 | 63 | const eventTurn = getTurn(groupScenario!, "t3"); |
64 | 64 | |
65 | | -expect(first.systemPrompt).toContain('You are in the Slack group chat "ops".'); |
| 65 | +expect(first.systemPrompt).toContain("You are in a Slack group chat."); |
66 | 66 | expect(first.systemPrompt).toContain("Activation: trigger-only"); |
67 | | -expect(steady.systemPrompt).toContain('You are in the Slack group chat "ops".'); |
| 67 | +expect(steady.systemPrompt).toContain("You are in a Slack group chat."); |
68 | 68 | expect(steady.systemPrompt).not.toContain("Activation: trigger-only"); |
69 | 69 | expect(first.systemPrompt).not.toBe(steady.systemPrompt); |
70 | 70 | expect(steady.systemPrompt).toBe(eventTurn.systemPrompt); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。