Skip to content

Commit effd81f

Browse files
committed
test: update prompt expectations to the flattened agent
The skills list gains balances, and the style assertions track the rewritten slack prompt; both were failing in CI on the base branch too.
1 parent 97f5950 commit effd81f

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

apps/leaf/tests/unit/agent/agent.test.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ describe("chat environment selection", () => {
3939
"autumn-catalog",
4040
"autumn-concepts",
4141
"autumn-investigate",
42+
"balances",
4243
"billing",
4344
"schedules",
4445
"trials",
@@ -54,14 +55,14 @@ describe("chat environment selection", () => {
5455
);
5556
});
5657

57-
test("uses bullets for multiple required items", () => {
58+
test("keeps the reply style rules", () => {
59+
expect(autumnChatInstructions).toContain("fewest words, no fluff");
5860
expect(autumnChatInstructions).toContain(
59-
"One fact answers in one short sentence",
61+
"No greetings, preamble, headers, recaps",
6062
);
61-
expect(autumnChatInstructions).toContain("goes in bullets");
62-
expect(autumnChatInstructions).toContain("ask one direct question");
63+
expect(autumnChatInstructions).toContain("Don't pre-announce steps");
6364
expect(autumnChatInstructions).toContain(
64-
"do not expose internal modelling",
65+
"Avoid Autumn-specific terminology",
6566
);
6667
});
6768

0 commit comments

Comments
 (0)