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

Handle Klat persona update events #10

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

NeonDaniel
Copy link
Member

@NeonDaniel NeonDaniel commented Dec 3, 2024

Description

Adds docstrings and type annotations to persona-related modules
Adds handler for <name>_personas_input queue to manage updates from Klat
Modifies default behavior to not periodically sync with the database (all relevant changes will be handled individually)

Issues

Closes #8
Implements NeonGeckoCom/pyklatchat#107

Other Notes

This does not currently account for multiple concurrent updates. One possible solution is to include a timestamp with emitted changes and discard any messages containing changes that are older than what was most recently applied.

Adds docstrings and type annotations to persona-related modules
Adds handler for `<name>_personas_input` queue to manage updates from Klat
Modifies default behavior to not periodically sync with the database (all relevant changes will be handled individually)
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.

[FEAT] Event-driven persona updates
1 participant