View Source ExOpenAI.Components.RunObject (ex_openai.ex v1.5.1)
Schema representing a RunObject within the OpenAI API
Summary
Types
@type t() :: %ExOpenAI.Components.RunObject{ assistant_id: String.t(), cancelled_at: integer(), completed_at: integer(), created_at: integer(), expires_at: integer(), failed_at: integer(), file_ids: [String.t()], id: String.t(), instructions: String.t(), last_error: %{code: :rate_limit_exceeded | :server_error, message: String.t()}, metadata: map(), model: String.t(), object: :"thread.run", required_action: %{ submit_tool_outputs: %{ tool_calls: [ExOpenAI.Components.RunToolCallObject.t()] }, type: :submit_tool_outputs }, started_at: integer(), status: :expired | :completed | :failed | :cancelled | :cancelling | :requires_action | :in_progress | :queued, thread_id: String.t(), tools: [map()] }