Repository navigation
Commit d7ed258
Don Tanggang
fix(prompt-assembly): clarify runtime-context header so models know the user message IS included (#110672)
The next-turn runtime-context header read 'OpenClaw runtime context for the
immediately preceding user message.' Smaller reasoning models inferred the
current message body 'was not injected', even though it is delivered in the
same turn (their own reasoning trace quotes it verbatim). Reword the header
to state the user message text is delivered separately and IS included, and
that this block only supplements it.
Closes #1106721 parent 8365383 commit d7ed258
2 files changed
Lines changed: 10 additions & 2 deletions
File tree
- src/agents
- embedded-agent-runner/run
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
614 | | - | |
| 614 | + | |
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
| |||
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
626 | 634 | | |
627 | 635 | | |
628 | 636 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments