Commit 0c350e9
committed
use task.steered event xml shape for steer injection
Replace the ad-hoc <priority>...</priority> wrap from the previous
commit with the same <event name="..."> shape the TaskAgent already
reads for task.progress, task.cancelled, etc. Body starts with
"User has steered your task:" so the LLM has a clear directive to
treat this as overriding its current plan.
Before:
<priority>Override your current plan with the instruction below.</priority>
{text}
After:
<event name="task.steered">
User has steered your task: {text}
</event>
Test + CHANGELOG updated to match.1 parent 22e94f6 commit 0c350e9
3 files changed
Lines changed: 14 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1715 | 1715 | | |
1716 | 1716 | | |
1717 | 1717 | | |
1718 | | - | |
1719 | | - | |
1720 | | - | |
1721 | | - | |
1722 | | - | |
1723 | | - | |
1724 | | - | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
1725 | 1724 | | |
1726 | | - | |
| 1725 | + | |
1727 | 1726 | | |
1728 | 1727 | | |
1729 | 1728 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
967 | 967 | | |
968 | 968 | | |
969 | 969 | | |
970 | | - | |
971 | | - | |
972 | | - | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
973 | 974 | | |
974 | 975 | | |
975 | 976 | | |
976 | | - | |
| 977 | + | |
| 978 | + | |
977 | 979 | | |
978 | 980 | | |
979 | 981 | | |
| |||
0 commit comments