NCBM
828c2610cb
test: cover the ceiling notice at the head and in the document marker
...
A cut body must lead with its notice, and a wire-capped cut body must say so
in the marker; a body the ceiling left whole must not.
2026-10-29 15:17:25 +08:00
NCBM
63109ef9f2
core/agent: cap tool results in the request-prep pass
...
A tool result now stays whole in its message (up to a storage ceiling) and
is trimmed on the request copy by the request-prep pass, where soft compact
already runs. The trimmed copy names the document that holds the rest, so
every surface (chat-completions, Responses, Messages) shares one rule.
New [agent] hard_max_tool_result_chars bounds the stored body; the wire cap
stays [agent] max_tool_result_chars.
Co-authored-by: CommandCodeBot <noreply@commandcode.ai >
2026-10-29 10:04:32 +08:00
NCBM
6fdfb8398e
core/agent: token-ify generic tool-result cap and compact shrinks
2026-08-11 19:41:54 +08:00
NCBM
b5950bdb57
core/agent: drop get_truncated hint from token-less generic truncation
2026-08-11 18:21:45 +08:00
NCBM
8cd456171c
core/agent: drop increase-limit hint in favor of truncate tokens
2026-08-11 14:53:49 +08:00
NCBM
3fe1c4cf91
core/agent: add model-friendly hint to truncated tool results
2026-08-01 01:42:17 +08:00
NCBM
5c13e06427
ci/lint: per-file ignores for tests in ruff and basedpyright
...
Relax ANN/ARG/PLR/C901 and related rules under tests/**; silence noisy
basedpyright reports for test fakes and private helpers.
2026-07-15 10:35:30 +08:00
NCBM
5cfe4d6a24
core/agent: soft context compact and cooperative cancel points
...
Shrink older tool dumps for model requests without mutating history;
check task cancellation between tool/model steps.
2026-07-14 23:42:50 +08:00
NCBM
b1964951ea
core/agent: parallel tool calls and tool-result char budget
...
Truncate large tool outputs and run multiple tool calls in one round
concurrently when enabled.
2026-07-14 23:24:11 +08:00