Allow terminal_tool command output truncation limit to be configurable #30186
vimota
started this conversation in
LLMs and Zed Agent
Replies: 1 comment
-
+1 on this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently output is truncated to 16kb: https://github.com/zed-industries/zed/blob/main/crates/assistant_tools/src/terminal_tool.rs#L27C7-L27C27
So doing something like
git diff main
gets truncated if there are a lot of changes. Ideally users could configure their profile tools to set the truncation limit. Or instead just set limits on per response total token count to prevent any sort of runaway token usage.Beta Was this translation helpful? Give feedback.
All reactions