diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index 6fc621482..10303b52f 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -782,7 +782,7 @@ class Coder: if url not in self.rejected_urls: if self.io.confirm_ask("Add URL to the chat?", subject=url, group=group): inp += "\n\n" - inp += self.commands.cmd_web(url, paginate=False) + inp += self.commands.cmd_web(url) added_urls.append(url) else: self.rejected_urls.add(url) diff --git a/aider/commands.py b/aider/commands.py index 8670cd649..a3230853f 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -120,7 +120,7 @@ class Commands: else: self.io.tool_output("Please provide a partial model name to search for.") - def cmd_web(self, args, paginate=True): + def cmd_web(self, args): "Scrape a webpage, convert to markdown and send in a message" url = args.strip() @@ -143,10 +143,6 @@ class Commands: self.io.tool_output("... done.") - if paginate: - with self.io.console.pager(): - self.io.console.print(Text(content)) - return content def is_command(self, inp): diff --git a/requirements/requirements.in b/requirements/requirements.in index 003f28ec3..a3a9da5db 100644 --- a/requirements/requirements.in +++ b/requirements/requirements.in @@ -23,7 +23,6 @@ litellm flake8 importlib_resources pyperclip -pypager pexpect # The proper depdendency is networkx[default], but this brings