Skip to content

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

fix(youtube): pass full transcripts to LLM instead of truncating to 200 chars

Matt Van Horn499074b564dc
diff --git a/scripts/lib/render.py b/scripts/lib/render.py
index 5944c3aa..19bd7fc0 100644
--- a/scripts/lib/render.py
+++ b/scripts/lib/render.py
@@ -258,10 +258,7 @@ def render_compact(report: schema.Report, limit: int = 15, missing_keys: str = "
lines.append(f" {item.title}")
lines.append(f" {item.url}")
if item.transcript_snippet:
- snippet = item.transcript_snippet[:200]
- if len(item.transcript_snippet) > 200:
- snippet += "..."
- lines.append(f" Transcript: {snippet}")
+ lines.append(f" Transcript: {item.transcript_snippet}")
lines.append(f" *{item.why_relevant}*")
lines.append("")
diff --git a/scripts/lib/youtube_yt.py b/scripts/lib/youtube_yt.py
index a0fe840a..b7ac5135 100644
--- a/scripts/lib/youtube_yt.py
+++ b/scripts/lib/youtube_yt.py
@@ -33,7 +33,7 @@ TRANSCRIPT_LIMITS = {
}
# Max words to keep from each transcript
-TRANSCRIPT_MAX_WORDS = 500
+TRANSCRIPT_MAX_WORDS = 5000
from .relevance import token_overlap_relevance as _compute_relevance