gorilla-llm / gorilla-cli

LLMs for your CLI
https://gorilla.cs.berkeley.edu/
Apache License 2.0
1.3k stars 76 forks source link

break and continue long lines #24

Open DrPaulBrewer opened 1 year ago

DrPaulBrewer commented 1 year ago

Some of the suggestions returned by gorilla overflow the space available on the screen.

Sometimes it breaks lines and adds \ for continuation. Sometimes it does not do this and makes long lines.

Could the line size be made more consistent?

When gorilla is suggesting a shell command, it could end a line after about 70 chars and add a \ for continuation. Other contexts have their own line-continuation requirements.

Since this is a matter of preference and there is no single correct way, it suggests a config file or command line switches.

ShishirPatil commented 1 year ago

Thanks for raising this @DrPaulBrewer 🙏 If you/anyone want to raise a PR, would accept it and welcome you as a contributor. If not, I'll get to this in the next release!