Skip to content

Remove LRU chat eviction to keep demo simple#8

Merged
John-Lin merged 1 commit intomasterfrom
revert-lru-eviction
Mar 31, 2026
Merged

Remove LRU chat eviction to keep demo simple#8
John-Lin merged 1 commit intomasterfrom
revert-lru-eviction

Conversation

@John-Lin
Copy link
Copy Markdown
Owner

Summary

  • Revert OrderedDict + MAX_CHATS eviction back to plain dict
  • Remove TestChatEviction test class (6 tests)
  • Demo bot usage patterns don't warrant the added complexity

Test plan

  • 99 tests pass locally

🤖 Generated with Claude Code

The OrderedDict-based eviction was over-engineering for a demo bot.
Conversation count is naturally bounded by usage patterns and bot
restarts. Revert to plain dict.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@John-Lin John-Lin merged commit 65e5fbd into master Mar 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant