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 in game events refresh timer #480

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

art-from-the-machine
Copy link
Owner

@art-from-the-machine art-from-the-machine commented Jan 22, 2025

Added timer to decide whether or not in-game events need to be updated once the player has spoken.

When an NPC is finished speaking, the latest in-game events are passed to the Mantella window. However, the player doesn't always respond immediately, so if events_refresh_time has passed, a request to update events will be passed to the game before passing the player's input and events to the LLM.

@art-from-the-machine art-from-the-machine marked this pull request as ready for review January 22, 2025 22:20
@art-from-the-machine art-from-the-machine merged commit 08bbba2 into main Jan 22, 2025
@art-from-the-machine art-from-the-machine deleted the in_game_events_refresh_timer branch January 22, 2025 22:21
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