RunStepHandlerImpl

class RunStepHandlerImpl(requestHelper: RequestHelper, endpoint: String, val threadId: String, val runId: String) : RunStepHandler

Constructors

Link copied to clipboard
constructor(requestHelper: RequestHelper, endpoint: String, threadId: String, runId: String)

Functions

Link copied to clipboard
@Contract(pure = true)
open fun list(): ListRunStepsResponse

Lists the 20 most recent steps of a run.

open override fun list(request: ListRunStepsRequest?): ListRunStepsResponse

Lists steps from this run.

Link copied to clipboard
@Contract(pure = true)
open fun retrieve(runStep: RunStep): RunStep

Retrieves the updated run step object from the given run step.

open override fun retrieve(id: String): RunStep

Retrieves the run step with the given id.

Properties

Link copied to clipboard
open override val runId: String

The ID of the run this handler is for.

Link copied to clipboard
open override val threadId: String

The ID of the thread this handler is for.