From 94ac1e1b1df4ed6dbdf2f0f0d41cb6dce747cbf3 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Tue, 13 Oct 2026 01:06:57 +0300 Subject: feat: history compacting --- web_utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'web_utils.py') 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 -- cgit v1.3.1