Added interaction count tracking for sessions with Redis or in-memory fallback. Implemented conversation history replacement functionality to compact and update message history. The changes include: - New AtomicUsize counter in SessionManager for interaction tracking - increment_and_get_interaction_count method with Redis support - replace_conversation_history to update and compact message history - Maintains existing functionality while adding new features |
||
|---|---|---|
| .. | ||
| app | ||
| html | ||