I finally found the problem in this page:
https://community.openai.com/t/request-failed-with-status-code-400/39242
The problem is the "Temperature" setting in the OpenAI assistant. I had it set to 1, which threw the error -- changing it to 1.3 fixed it. Logging it here in case it helps someone in the future.
straight-needle-39590
06/21/2024, 4:43 PM
This broke again, so apparently the temperature change didn't fix it. The problem is definitely on OpenAI's side. Using the 4o model seems to break it, while switching to the 4-turbo model seems to be more stable and works correctly with Botpress.