Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added max count events, changed reload to use token count #341

Conversation

Leidtier
Copy link
Contributor

@Leidtier Leidtier commented Aug 8, 2024

  • Added max_count_events config value, default 5
  • Only the last max_count_events events are added to a player message
  • Changed reload of conversation to only add as many last messages back as their token count doesn't exceed 10% of context size

Leidtier and others added 2 commits August 8, 2024 14:45
- Added `max_count_events` config value, default 5
- Only the last `max_count_events` events are added to a player message
- Changed reload of conversation to only add as many last messages back as their token count doesn't exceed 10% of context size
@art-from-the-machine art-from-the-machine merged commit 4423055 into art-from-the-machine:main Aug 9, 2024
@Leidtier Leidtier deleted the max-events-and-reload-fixes branch August 9, 2024 10:40
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.

2 participants