fix: Update imports and function calls for run_interactive_command

This commit is contained in:
Paul Gauthier (aider) 2024-08-27 10:41:21 -07:00
parent 80abb5c812
commit cefa3e2cf2

View file

@ -15,7 +15,8 @@ from aider import models, prompts, voice
from aider.help import Help, install_help_extra
from aider.llm import litellm
from aider.scrape import Scraper, install_playwright
from aider.utils import is_image_file, run_interactive_command
from aider.utils import is_image_file
from aider.run_cmd import run_cmd
from .dump import dump # noqa: F401
@ -722,7 +723,7 @@ class Commands:
def cmd_run(self, args, add_on_nonzero_exit=False):
"Run a shell command and optionally add the output to the chat (alias: !)"
exit_status, combined_output = run_interactive_command(args)
exit_status, combined_output = run_cmd(args)
instructions = None
if combined_output is None: