ekkinox / yai

Your AI powered terminal assistant.
https://ekkinox.github.io/yai
MIT License
682 stars 32 forks source link

Possibility to detect a command is not runnable before execution #17

Open ekkinox opened 1 year ago

ekkinox commented 1 year ago

For example :

Screenshot 2023-04-18 at 21 15 05 (1)

Yo could detect that the proposed command involves software not available, and propose remediation for this.

Thx @Skyld for the suggestion.

mateothegreat commented 1 year ago

Then make another prediction about how to install it.. maybe have side effects support?

ekkinox commented 1 year ago

Then make another prediction about how to install it.. maybe have side effects support?

yeah need to check how to make this happen, especially if proposed command line contains more than 1 programs that are not installed :D

The workaround I use for now is:

not optimal, but works