diff --git a/pyproject.toml b/pyproject.toml index 3f4879c..092fdcc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ dependencies = [ "promplate-recipes~=0.2.2.1", "pyyaml~=6.0.1", "html-text~=0.6.2", - "html2text", + "html2text2~=1.0.0", ] [build-system] diff --git a/reasonify-headless/reasonify/tools/fetch.py b/reasonify-headless/reasonify/tools/fetch.py index e562a28..a7aa9db 100644 --- a/reasonify-headless/reasonify/tools/fetch.py +++ b/reasonify-headless/reasonify/tools/fetch.py @@ -10,7 +10,7 @@ class FetchFailed(Exception): ... @tool -async def read_page(url: str, parse_as: Literal["innerText", "plain", "markdown"] = "plain") -> tuple[int, str]: +async def read_page(url: str, parse_as: Literal["innerText", "plain", "markdown"] = "markdown") -> tuple[int, str]: """ fetch the content of a web page, returns its status code and text content. diff --git a/reasonify-headless/version.py b/reasonify-headless/version.py index b3f4756..ae73625 100644 --- a/reasonify-headless/version.py +++ b/reasonify-headless/version.py @@ -1 +1 @@ -__version__ = "0.1.2" +__version__ = "0.1.3"