leifermendez / builderbot-openai-assistants

builderbot conectado con asistentes de OpenAI con base de dactos vectorial listo de usar
50 stars 77 forks source link

Added a queue to handle multiple messages and not crash the run #6

Closed KevinDog24 closed 2 months ago

KevinDog24 commented 2 months ago

This new implementation allows the user to send several messages and gets them on a queue to avoid crashing the current run to the API, avoiding trying to add a new message to the thread before the answer from the API has actually returned, therefore not crashing the app. The messages are then sent 1 by 1 to the API as they were added to the queue all waiting for an answer from the API before being sent.

leifermendez commented 2 months ago

Excelente sería si puedes actualizar la versión del builderbot a la última 1.2.2