Commit 07354dd
authored
fix(notifications): make agent speak on every turn, not just when nudged
The `speak` "done" case was getting skipped: once the model writes its
text answer the turn feels delivered and it stops before the trailing
speak call. Advisory phrasing ("lean toward using it") lost to that
default.
Reframe as a hard end-of-turn rule and, crucially, tell the model to
call speak BEFORE its final text reply — mid-turn, while still in
tool-calling mode — which is the only reliable ordering.
Generated-By: PostHog Code
Task-Id: 6912b099-cb75-4f41-a337-1d2275c4be661 parent e80d0f8 commit 07354dd
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
0 commit comments