AbanteAI / rawdog

Generate and auto-execute Python scripts in the cli
Apache License 2.0
1.75k stars 134 forks source link

rawdog Crashes on wrong commands #77

Open thelege2nd opened 4 months ago

thelege2nd commented 4 months ago

Hello, I couldn't reopen #67 so im following up here.

first I'm running rawdog as admin as I am unable to run it otherwise, it bring errors.

Second, it seems like its crashing on wrong commands such as cls to clear the window, its just a happit and i know it will not work with rawdog. but does it always crash like in the picture on wrong commands or this is just me for some reason?

image

Please check #67 update.

granawkins commented 4 months ago

Hello -

  1. Per your last message in #67, sometimes it tries to get info on a dir it doesn't have permissions for (for me was Google Drive). We added a try/except block to handle this smoothly.
  2. Per the cls issue, we've told it not to do anything 'irreversible', so that's probably why it's refusing. We could add an explicit example and hope that the fine-tuned model will accept it? @jakethekoenig
  3. The program failed because of return_code. This was just (my) bad code, which I fixed.

Thanks for the feedback! We're taking it very fast and loose with rawdog, so appreciate your patience while we work through adolescence.