From e42e5ca56309d300507c9d3b03ab61ccff1e6434 Mon Sep 17 00:00:00 2001 From: Remora Date: Mon, 9 Feb 2026 19:11:34 +0100 Subject: [PATCH] Debug: Add detailed logging for analysis pipeline --- bot.py | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 16df6fa..7618769 100644 --- a/bot.py +++ b/bot.py @@ -161,6 +161,8 @@ def fetch_url_content(url): def analyze_content(url, title, content, link_type): """Analyze content and suggest summary + tag locally""" logger.debug(f" 🤖 Analyzing content: {url}") + logger.debug(f" Content length: {len(content)} chars") + logger.debug(f" Link type: {link_type}") try: # Extract useful info from HTML content @@ -170,12 +172,14 @@ def analyze_content(url, title, content, link_type): desc_match = re.search(r'