Add user context to Telegram bot system prompt

t-259·WorkTask·
·
·
Created2 months ago·Updated2 months ago

Description

Edit

Include user name/identity in the system prompt so the bot knows who it's talking to. Critical for group chats where multiple users are speaking. The user info is already available from Memory.getOrCreateUserByTelegramId - just needs to be included in the prompt context passed to the agent.

Timeline (2)

🔄[human]Open → InProgress2 months ago
🔄[human]InProgress → Done2 months ago