aboutsummaryrefslogtreecommitdiff
path: root/web_utils.py
diff options
context:
space:
mode:
authorJoel Kronqvist <joel.kronqvist@iki.fi>2026-10-13 01:06:57 +0300
committerJoel Kronqvist <joel.kronqvist@iki.fi>2026-10-13 01:51:33 +0300
commit94ac1e1b1df4ed6dbdf2f0f0d41cb6dce747cbf3 (patch)
tree644ae6d91562b2d5c16ac8d62c707c012514ee81 /web_utils.py
parent4d6f0330dd4648b2ae4385d08a58a8a78fb50b29 (diff)
downloadagent-main.tar.gz
agent-main.zip
feat: history compactingHEADmain
Diffstat (limited to 'web_utils.py')
-rw-r--r--web_utils.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/web_utils.py b/web_utils.py
index 6fecb47..89c6632 100644
--- a/web_utils.py
+++ b/web_utils.py
@@ -50,7 +50,9 @@ def fetch_and_markdownify(url: str) -> FetchResult:
return _cache[url]
try:
- with httpx2.Client(headers={"User-Agent": "Mozilla/5.0"}, timeout=10.0) as client:
+ with httpx2.Client(
+ headers={"User-Agent": "Mozilla/5.0"}, timeout=10.0
+ ) as client:
response = client.get(url)
response.raise_for_status()
html = response.text