refactor: remove pagination from web command

This commit is contained in:
Paul Gauthier 2024-08-27 13:29:30 -07:00 committed by Paul Gauthier (aider)
parent ffa30983c7
commit 6f6b016d0f
3 changed files with 2 additions and 7 deletions

View file

@ -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):