aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tools/updates.toml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-28 10:56:26 +0200
committerDanilo M. <danix@danix.xyz>2026-09-28 10:56:26 +0200
commit7a6190becf90364c6f31f401ccda745e4745081c (patch)
tree8058b650696457dc701f2bf2f78bcff5c5da0b99 /examples/tools/updates.toml
parent48211368c01599d1c173d6e3347674750976db47 (diff)
downloaddesktop-assistant-7a6190becf90364c6f31f401ccda745e4745081c.tar.gz
desktop-assistant-7a6190becf90364c6f31f401ccda745e4745081c.zip
Keep tool calls in history, with placeholder results
History kept only what was said, so after a few factual answers the model saw no tool behind them and invented the next one: asked for pending updates it made up counts without calling the tool (1/10 on a replayed session). Keeping each turn's tool calls brings it back to 10/10. Their results are replaced by a placeholder, which scores the same and keeps the context close to what it was; a follow-up on an old result calls the tool again. The window is now the last 10 whole turns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'examples/tools/updates.toml')
0 files changed, 0 insertions, 0 deletions