bump: chat-level history to 30 exchanges (~6K tokens)
Pentagon-Agent: Epimetheus <3D35839A-7722-4740-B93D-51157F7D5E70>
This commit is contained in:
parent
bb3b033b57
commit
a19db22b16
1 changed files with 1 additions and 1 deletions
|
|
@ -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}]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue