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

Activities are collecting across messages #1163

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

jamesrichards4
Copy link
Contributor

Context

Activity Events are collecting across chat messages leading to all previous events attached to the latest ai message

Changes proposed in this pull request

Reset the activities list to empty on receive

Guidance to review

Is this the right fix for the issue? I'm definitely seeing previous activities on chat messages in preprod and this feels like we're building up all events in a websocket session?

Be good to revisit this long running consumer at some point too; for some of the interruptible/user prompting features we might want soon we need a single instance of the redbox graph (rather than per consumer).

Relevant links

Things to check

  • I have added any new ENV vars in all deployed environments
  • I have tested any code added or changed
  • I have run integration tests

Copy link
Contributor

@KevinEtchells KevinEtchells left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels like the right approach to me. We only need the ones for the current message being sent to Django.

@jamesrichards4 jamesrichards4 merged commit c218c23 into main Nov 4, 2024
6 checks 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.

2 participants