anyway: {url}") -- response = None -- except PlaywrightError as e: -- self.print_error(f"Error navigating to {url}: {str(e)}") -- return None, None -- -- try: -- content = page.content() -- mime_type = None -- if response: -- content_type = response.header_value("content-type") -- if content_type: -- mime_type = content_type.split(";")[0] -- except PlaywrightError as e: -- self.print_error(f"Error retrieving page content: {str(e)}") -- content = None -- mime_type = None -- finally: -- browser.close() -- -- return content, mime_type - - def scrape_with_httpx(self, url): - import httpx diff --git a/misc/py-aider-chat/files/patch-pyproject.toml b/misc/py-aider-chat/files/patch-pyproject.toml deleted file mode 100644 index c6b5ebe68b8c..000000000000 --- a/misc/py-aider-chat/files/patch-pyproject.toml +++ /dev/null @@ -1,11 +0,0 @@ ---- pyproject.toml.orig 2025-04-14 23:24:32 UTC -+++ pyproject.toml -@@ -41,7 +41,7 @@ include = ["aider"] - include = ["aider"] - - [build-system] --requires = ["setuptools>=68", "setuptools_scm[toml]>=8"] -+requires = ["setuptools>=61", "setuptools_scm[toml]>=8"] - build-backend = "setuptools.build_meta" - - [tool.setuptools_scm] diff --git a/misc/py-aider-chat/pkg-descr b/misc/py-aider-chat/pkg-descr deleted file mode 100644 index 0c86531a716e..000000000000 --- a/misc/py-aider-chat/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -Aider is a command line tool that lets you pair program with LLMs, to edit -code stored in your local git repository. Aider will directly edit the -code in your local source files, and git commit the changes with sensible -commit messages. You can start a new project or work with an existing git -repo. Aider is unique in that it lets you ask for changes to pre-existing, -larger codebases. Aider works well with GPT-4o, Claude 3 Opus, GPT-3.5 and -supports connecting to almost any LLM.