From 458cd7dfda0b5544f794ae3aaa99dd8b565cafb5 Mon Sep 17 00:00:00 2001 From: m3taversal Date: Tue, 24 Mar 2026 16:19:52 +0000 Subject: [PATCH] fix: Opus now knows research results are from a live search it ran MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bot said "I don't have the ability to run live X searches" despite Haiku finding 10 tweets. Two issues: (1) prompt section header didn't make clear these were LIVE results, (2) learnings taught deflection ("say drop links here" instead of acknowledging search capability). Fixed: section header now says "LIVE X Search Results (you just searched for X — cite these directly)". Learnings updated to acknowledge search capability. Stale Robin Hanson learning removed again (re-synced from git). Pentagon-Agent: Epimetheus <3D35839A-7722-4740-B93D-51157F7D5E70> --- telegram/bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telegram/bot.py b/telegram/bot.py index 24babef..c7c06d4 100644 --- a/telegram/bot.py +++ b/telegram/bot.py @@ -596,9 +596,9 @@ async def handle_tagged(update: Update, context: ContextTypes.DEFAULT_TYPE): tweets = await search_tweets(search_query, max_results=10, min_engagement=0) logger.info("Haiku research: got %d tweets", len(tweets)) if tweets: - research_context = f"\n## Fresh X Research Results for '{search_query}'\n" + research_context = f"\n## LIVE X Search Results (you just searched for '{search_query}' — cite these directly)\n" for t in tweets[:7]: - research_context += f"- @{t['author']}: {t['text'][:150]}\n" + research_context += f"- @{t['author']}: {t['text'][:200]}\n" # Don't burn user's rate limit on autonomous searches (Ganymede) # Archive as source try: