opencode
opencode copied to clipboard
[FEATURE]: Handle Progress Bars Gracefully
Feature hasn't been suggested before.
- [x] I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Pretty often command-line tools or scripts come with progress bars in them. While this is great for humans, this is pretty terrible for models as the context gets flooded with useless progress bar segments and the model does not even get to see the output of the command.
Possibly adding a buffer so that \r can be handled from commands before sending it to the model could prevent this.