Commit Graph

2 Commits (d43d430d86cd5ba6b3d6ccdb7e59d0227c8db026)

Author SHA1 Message Date
Harrison Chase 93a091cfb8
Optionally return shell output on incorrect command (#894) (#899)
This allows the LLM to correct its previous command by looking at the
error message output to the shell.

Additionally, this uses subprocess.run because that is now recommended
over subprocess.check_output:

https://docs.python.org/3/library/subprocess.html#using-the-subprocess-module

Co-authored-by: Amos Ng <me@amos.ng>
2 years ago
Harrison Chase 3c1c7ba672
update branch name in gha (#274) 2 years ago