diff options
| author | t <t@tjp.lol> | 2026-12-03 18:03:21 -0700 |
|---|---|---|
| committer | t <t@tjp.lol> | 2026-12-04 13:53:47 -0700 |
| commit | 34d347ffb9ced22f6004af320958f9d1a0ae22d2 (patch) | |
| tree | a1fd83ef45d806b5ad448b2b5927d7a19c4accef /README.md | |
| parent | 8c167c49f18c76f1f867778341ac821591d9d990 (diff) | |
Page oversized MCP tool results to stay under agy's capv0.1.0
agy truncates any MCP tool result above about 10 KB before the model sees
it, and splitting the text into several blocks does not avoid the cap.
Results over 10,000 bytes now go out as parts of at most 9,600 bytes; the
first part carries a notice and the model fetches the rest through a
relay-only result_part tool. Panto still runs the tool once.
Removes BUGS.md; the evidence moves to docs/findings.md.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -48,6 +48,8 @@ By default the `pantograph` MCP server exports the active Panto tools, including **Slow tools:** The generated agy agent requests a 30-minute MCP timeout for its `pantograph` server. If agy times out an MCP call, the local tool may still finish. Panto records its result, but the adapter does not send it to a cancelled request, rerun the tool, or start a new prompt. The existing turn drains the result and any queued steering before it can finish. +**Large results:** agy cuts the middle out of any MCP tool result over about 10 KB and points the model at a file it has no tool to read. The relay therefore sends text results over 10,000 bytes in parts of at most 9,600 bytes: the first with the tool's reply, the rest when the model asks for them through the relay's own `result_part` tool. The tool runs once, and Panto's card and transcript show the whole result; part requests are not Panto tool calls and get no card. Fetching the remaining parts usually takes one more model call in the same turn. The model may also stop after the parts it needs. The relay holds the eight most recent large results of the live session; a part requested after a restart or after eight newer ones is refused, and the model is told to run the tool again. Image results are passed through unchanged; whether agy caps them is unverified. + ### Native tool activity During a prompt, reported ACP native calls such as `manage_task` appear above the input with their name and status. The component shows the latest six calls until the next prompt or session close; it isn't saved transcript history. It never executes tools or prints raw inputs/results. Calls through the Panto relay still get their ordinary Panto cards, not duplicates. |
