-
Notifications
You must be signed in to change notification settings - Fork 142
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
Fix conversation_id renew every time #247
base: main
Are you sure you want to change the base?
Conversation
In this fork I fixed an issue where the dialog with wyoming satellite starts again every time even though the conversation_id is provided.
Hi @guinmoon , I've tested the fork, but it doesn't seem to work for me. I'm using the Wyoming satellite with a Raspberry Pi and a Mic 2 HAT. After the first conversation, when I use the wake word again, it starts a new conversation instead of continuing the previous one. |
Thx guinmoon, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution!
I would have to leave this PR open until it's certain that we can mutate user_input
.
Please comment below if anyone has an idea.
conversation_id = user_input.conversation_id | ||
if user_input.conversation_id is None: | ||
conversation_id = ulid.ulid() | ||
user_input.conversation_id = conversation_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm quite not sure if modifying any values(such as conversation_id
) in user_input
is the right way.
Tested this change and it did not work for me using a Wyoming Satellite. |
In this fork I fixed an issue where the dialog with wyoming satellite starts again every time even though the conversation_id is provided.
Related to this.