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

Can't prompt OpenAI Assistant with new Message #1367

Open
brianzaubar opened this issue Jan 13, 2025 · 0 comments
Open

Can't prompt OpenAI Assistant with new Message #1367

brianzaubar opened this issue Jan 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@brianzaubar
Copy link

We are using the VoicePipeline Agent with the OpenAI Assistant and 4o-mini model.

If a message is forwarded to the Assistant a run will start. If we now forward something again very quickly, then the new message could not be added, because the current run is still active. This is a common OpenAI "issue"/limitation.
The error would look something like this: "Can't add messages to thread_Xhtc7rjp5KYTKxWdfnDuLD6U while a run run_rF3R9B6ZqrJmGUhjYNoNb93E is active."
This is particularly happening if we use a RAG and/or process images, because then the processing would usually take more than 6 seconds.

Does LiveKit has any fix for that?

@brianzaubar brianzaubar added the bug Something isn't working label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant