From cefa3e2cf20d2dd12503b68ada4e4ac357170986 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 27 Aug 2024 10:41:21 -0700 Subject: [PATCH] fix: Update imports and function calls for run_interactive_command --- aider/commands.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aider/commands.py b/aider/commands.py index d7dffab6a..345bdfab4 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -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: