Weird error in gpt integration using functions and...
# 🤝help
c
I randomly get this error when talking with chatgpt in botpress:
Copy code
An error occured while running Execute Code card: Can't add messages to thread_CcnfmPMulLUOc9tr5ZIjQjf4 while a run run_me9ILEKcB77odwvWkMnRMWNY is active. (Status Code: 400)
I'm not sure how to prevent this from happening or just catching the error
@User Idk if this error ever happened before to other users as I can't find much info on internet and 0 on this discord 😦
s
@careful-carpet-17108 I have received this a few times and it seems to be a problem with OpenAI Assistants, not Botpress. To fix it, I went into the OpenAI Assistant and changed the model, then republished in Botpress. This OpenAI page may also help: https://community.openai.com/t/is-api-not-working-i-get-the-error-run-is-active-right-from-the-second-request-to-the-specified-thread-id/508821/12
3 Views