createRun

abstract suspend fun createRun(threadId: ThreadId, request: RunRequest, requestOptions: RequestOptions? = null): Run

Create a run.

Parameters

threadId

The ID of the thread to run

request

request for a run

requestOptions

request options.