await openai.beta.threads.runs.cancel(threadId, runId);
Perhaps the run is in progress, but this error occurs quite frequently when trying to cancel the run.
Even after retrieving it and checking the status, the issue still often occurs.
Could this be an issue with the assistant API? or there be an issue somewhere?