import { RunStep } from "https://deno.land/x/openai@v4.31.0/resources/beta/threads/runs/mod.ts";
Interfaces
The last error associated with this run step. Will be | |
Usage statistics related to the run step. This value will be |
import { type RunStep } from "https://deno.land/x/openai@v4.31.0/resources/beta/threads/runs/mod.ts";
Represents a step in execution of a run.
Properties
The ID of the assistant associated with the run step.
The Unix timestamp (in seconds) for when the run step expired. A step is considered expired if the parent run is expired.
The last error associated with this run step. Will be null
if there are no
errors.
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long.
The ID of the run that this run step is a part of.
The status of the run step, which can be either in_progress
, cancelled
,
failed
, completed
, or expired
.
The details of the run step.
The ID of the thread that was run.
The type of run step, which can be either message_creation
or tool_calls
.
Usage statistics related to the run step. This value will be null
while the
run step's status is in_progress
.