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

TASK: Store metadata for messages in a cache to allow reloading of treads #7

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

mficzel
Copy link
Member

@mficzel mficzel commented Mar 6, 2024

This is implemented inside the chat controller for simplicity as otherwise the whole assistant thingy would be affected badly.

The implementation relies on the getByTag method of the taggable CacheFrontend that returns all items having this tag with the id as key. That allows to assign the metadata to the keys without asking the cache for every item itself.

…reads

This is implemented inside the chat controller for simplicity.
@mficzel mficzel force-pushed the task/cacheMessageMetadataInChatController branch from 364ada6 to b81f3e2 Compare March 6, 2024 13:40
@mficzel mficzel requested a review from nezaniel March 6, 2024 13:42
@mficzel
Copy link
Member Author

mficzel commented Mar 6, 2024

Will merge directly because of low risk and easy to revert again later

@mficzel mficzel merged commit 5641267 into main Mar 6, 2024
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