Current section

Files

Jump to
oapi_open_ai lib schemas run step details_tool_calls_code.ex
Raw

lib/schemas/run/step/details_tool_calls_code.ex

defmodule OpenAi.Run.Step.DetailsToolCallsCode do
@moduledoc """
Provides struct and type for a Run.Step.DetailsToolCallsCode
"""
@type t :: %__MODULE__{
code_interpreter: OpenAi.Run.Step.DetailsToolCallsCodeCodeInterpreter.t(),
id: String.t(),
type: String.t()
}
defstruct [:code_interpreter, :id, :type]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[
code_interpreter: {OpenAi.Run.Step.DetailsToolCallsCodeCodeInterpreter, :t},
id: {:string, :generic},
type: {:const, "code_interpreter"}
]
end
end