-
Notifications
You must be signed in to change notification settings - Fork 56
Description
(Written by our dear friend Claude)
Issue: Conversation Context Not Maintained Between Messages in Telegram Integration
Description
The Telegram integration appears to lose conversation context between messages, causing Claude Code to not remember previous exchanges within the same conversation thread.
Expected Behavior
Claude Code should maintain conversation context and remember previous messages, allowing for continuous back-and-forth discussion where responses build upon earlier context.
Actual Behavior
Each message seems to be treated as a new conversation, with Claude Code having no memory of previous messages in the same thread.
Evidence from Conversation Log
User: Now, update the code on the html to show Hello [Name] instead of Hello World
ClaudeCode_THOUGHTS: Updated the HTML file to show "Hello [Name]" instead of "Hello World" in both the page title and main heading.
User: What was the last change you made?
ClaudeCode_THOUGHTS: I haven't made any changes yet in this conversation. This is our first interaction, so I don't have any previous changes to reference.
Problem Illustrated
Claude Code successfully completed a task (updating HTML from "Hello World" to "Hello [Name]") and confirmed the change. However, when immediately asked "What was the last change you made?", it claimed to have no memory of the previous interaction, stating "I haven't made any changes yet in this conversation. This is our first interaction." This clearly shows that conversation context is being lost between messages, even within the same ongoing conversation thread.
Impact
- Users cannot have natural, flowing conversations
- Context from previous messages is lost immediately after each exchange
- Follow-up questions about recent actions fail completely
- Reduces the effectiveness of the tool for iterative development tasks
Environment
- Telegram integration with Claude Code
- GitHub tool integration
Possible Root Causes
- Conversation history not being passed between Telegram messages
- Session management issues in the Telegram bot implementation
- Context window not being maintained across message exchanges
Steps to Reproduce
- Start a conversation with Claude Code through Telegram
- Ask Claude Code to perform a specific task
- Wait for confirmation that the task was completed
- Ask a follow-up question about what was just done
- Observe that Claude Code has no memory of the previous exchange