diff --git a/telegram/bot.py b/telegram/bot.py index a7483b5..6649fda 100644 --- a/telegram/bot.py +++ b/telegram/bot.py @@ -101,7 +101,7 @@ unanswered_count: dict[tuple[int, int], int] = {} # (chat_id, user_id) → unan # Conversation history — last N exchanges for prompt context (Ganymede: high-value change) MAX_HISTORY_USER = 5 -MAX_HISTORY_CHAT = 10 # Ganymede: group chats need more context (multiple users) +MAX_HISTORY_CHAT = 30 # Group chats: multiple users, longer threads conversation_history: dict[tuple[int, int], list[dict]] = {} # (chat_id, user_id) → [{user, bot}]