YongGoose commented on issue #1036: URL: https://github.com/apache/burr/issues/1036#issuecomment-6755598427
Not capped, just small by default. Each tool returns a compact result unless the caller asks for more, and all the data stays reachable: - Step lists and key histories page with `start`/`limit`, and `limit` can cover the whole app. - For state, `keys=[...]` picks fields, and `max_chars=None` returns values in full. While answering this I noticed the sketch had no way to read one long value in full, so I've added `max_chars` to the prototype. The reason for small defaults: whatever a tool returns goes straight into the model's context. Claude Code, for example, warns above 10,000 tokens and cuts tool output at 25,000 by default (`MAX_MCP_OUTPUT_TOKENS`). Without paging, one `get_app` call on a 1,500-step app was about 21,000 tokens. Small defaults let the assistant look at the overview first, then ask for the exact steps or fields it needs. The numbers (50 entries, 2,000 characters) are just a starting point. Happy to change them or make them configurable. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
