cancel
abstract suspend fun cancel(threadId: <Error class: unknown class>, runId: <Error class: unknown class>, requestOptions: <Error class: unknown class>? = null): <Error class: unknown class>
Cancels a run that is Status.InProgress.
Parameters
threadId
the ID of the thread to which this run belongs
runId
the ID of the run to cancel
requestOptions
request options.