Commit eb9a53c5de11

Vincent Demeester <vincent@sbr.pm>
2026-01-14 17:18:43
feat(xmpp-research-bot): add API call progress message
Now sends three messages for better user feedback: 1. ๐Ÿ” Researching with [Model]: <query> 2. โณ Calling Claude API, please wait... 3. โœ… Research complete! Saved to inbox.org The middle message lets users know the bot is actively working during the API call (which can take 5-15 seconds). Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent f711d4e
Changed files (1)
modules
xmpp-research-bot
modules/xmpp-research-bot/bot.py
@@ -89,6 +89,9 @@ class ResearchBot(slixmpp.ClientXMPP):
             msg.reply(f"๐Ÿ” Researching with {model_name}: {query}").send()
 
             try:
+                # Notify user that API call is in progress
+                msg.reply("โณ Calling Claude API, please wait...").send()
+
                 # Perform research
                 result = await self.research(query, model=model)