bump: chat-level history to 30 exchanges (~6K tokens)

Pentagon-Agent: Epimetheus <3D35839A-7722-4740-B93D-51157F7D5E70>
This commit is contained in:
m3taversal 2026-03-24 15:03:11 +00:00
parent bb3b033b57
commit a19db22b16

View file

@ -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}]