diff --git a/docs/slack-setup-guide.md b/docs/slack-setup-guide.md index 59a9fa3..5cc022d 100644 --- a/docs/slack-setup-guide.md +++ b/docs/slack-setup-guide.md @@ -296,7 +296,7 @@ python -m apps.slack_rag \ Here's what you'll see when running a RAG query on your Slack workspace: -![RAG Query Results](rag-query-results.png) + **What this screenshot shows:** - ✅ **Successful MCP connection** to Slack workspace @@ -312,7 +312,7 @@ This example shows a real query against the Sky Lab Computing workspace’s “r ### Screenshot -![Sky Random RAG](videos/rag-sky-random.png) +![Sky Random RAG](docs/videos/rag-sky-random.png) ### Prerequisites diff --git a/videos/rag-sky-random.png b/docs/videos/rag-sky-random.png similarity index 100% rename from videos/rag-sky-random.png rename to docs/videos/rag-sky-random.png diff --git a/tests/test_channel_by_id_or_name.py b/tests/test_channel_by_id_or_name.py index 899ddbb..46b4c05 100644 --- a/tests/test_channel_by_id_or_name.py +++ b/tests/test_channel_by_id_or_name.py @@ -120,9 +120,9 @@ async def fetch( print("=" * 60) q_terms = [t.strip().lower() for t in query.split() if t.strip()] lines = [ - l - for l in (text_blob.splitlines() if text_blob else []) - if l and not l.startswith("MsgID,") + line + for line in (text_blob.splitlines() if text_blob else []) + if line and not line.startswith("MsgID,") ] # Score lines by count of query terms present scored = []