You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 84f499c
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix(buzz-agent): cap tool-result text at 50 KiB with middle elision (#952)
Copy file name to clipboardExpand all lines: crates/buzz-agent/README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,6 +153,7 @@ Everything is environment variables. No flags, no config files. (We are a subpro
153
153
|`BUZZ_AGENT_MAX_SESSIONS`| unlimited | Max concurrent ACP sessions. Sessions are cheap; default has no cap. |
154
154
|`BUZZ_AGENT_MAX_LINE_BYTES`|`4194304`| 4 MiB. Hard cap on inbound JSON-RPC frames. |
155
155
|`BUZZ_AGENT_MAX_HISTORY_BYTES`|`1048576`| 1 MiB. Old turns are evicted past this. |
156
+
|`BUZZ_AGENT_MAX_TOOL_RESULT_TEXT_BYTES`|`51200`| 50 KiB. Per-result cap on tool-output text; oversize is middle-elided (head + tail kept) with an inline marker. Images are exempt. |
156
157
157
158
158
159
## Providers
@@ -234,7 +235,8 @@ The trust boundary is **the operator who launched the agent**. The harness, MCP
234
235
| History window | 1 MiB |`BUZZ_AGENT_MAX_HISTORY_BYTES`|
235
236
| LLM response body | 16 MiB |`MAX_LLM_RESPONSE_BYTES`|
236
237
| LLM error body | 4 KiB |`MAX_LLM_ERROR_BODY_BYTES`|
237
-
| Tool result body | 256 KiB |`MAX_TOOL_RESULT_BYTES`|
238
+
| Tool result body (total, incl. images) | 8 MiB |`MAX_TOOL_RESULT_BYTES`|
239
+
| Tool result text | 50 KiB |`BUZZ_AGENT_MAX_TOOL_RESULT_TEXT_BYTES`|
0 commit comments