gorilla-llm / gorilla-cli

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

[Feature Request] Only return the top 1 result but do not run it, let the user decide how to edit and run it #59

Open matmult opened 1 month ago

matmult commented 1 month ago

Thanks for this. This neat little cli is really useful, but I would like to propose some minor design changes.

  1. When returning results, only return the top 1 selected command
  2. Instead of directly running the command itself, only return the string and let the user decide if they want to edit and how they want to run it.
ShishirPatil commented 1 month ago

Hey @matmult thank you so much for the feedback! Although not part of the pypi build, I tried to do something like this here. Where basically the CLI gets pre-filled, but not executed. Is this along the lines you were suggesting?