I solved the problem. What was happening is that I was indeed calling a new run in the same thread. The reason it was happening is that I was doing it normally when the run had failed. It is necessary to cancel the run before opening a new one. More information: How to delete a pending run in Assistants?
kedume
11
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Assistant example stuck on "queued" status | 30 | 10486 | October 16, 2024 | |
| Issue with Assistant API - “Cannot Add Message to Thread Due to Active Run” | 8 | 955 | April 14, 2025 | |
| Error running thread: already has an active run | 4 | 3443 | May 29, 2024 | |
| Assistant API. "message": "No run found with id" | 9 | 3961 | December 17, 2023 | |
| Can't add messages to thread while a run is active | 4 | 13514 | January 23, 2025 |