mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
fix: Update imports and function calls for run_interactive_command
This commit is contained in:
parent
80abb5c812
commit
cefa3e2cf2
1 changed files with 3 additions and 2 deletions
|
@ -15,7 +15,8 @@ from aider import models, prompts, voice
|
||||||
from aider.help import Help, install_help_extra
|
from aider.help import Help, install_help_extra
|
||||||
from aider.llm import litellm
|
from aider.llm import litellm
|
||||||
from aider.scrape import Scraper, install_playwright
|
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
|
from .dump import dump # noqa: F401
|
||||||
|
|
||||||
|
@ -722,7 +723,7 @@ class Commands:
|
||||||
|
|
||||||
def cmd_run(self, args, add_on_nonzero_exit=False):
|
def cmd_run(self, args, add_on_nonzero_exit=False):
|
||||||
"Run a shell command and optionally add the output to the chat (alias: !)"
|
"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
|
instructions = None
|
||||||
|
|
||||||
if combined_output is None:
|
if combined_output is None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue