Skip to content

Commit

Permalink
fix: informative message for agent when permission isn't granted
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbrayo committed Oct 22, 2024
1 parent 428f4a6 commit 056a17b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gptme/tools/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def execute_shell(

print_preview(cmd, "bash")
if not confirm("Run command?"):
yield Message("system", "Command not run")
yield Message("system", "User cancelled command.")
return

try:
Expand Down

0 comments on commit 056a17b

Please sign in to comment.