Current section
Files
Jump to
Current section
Files
lib/schemas/response/computer/tool_call/safety_check.ex
defmodule OpenAi.Response.Computer.ToolCall.SafetyCheck do
@moduledoc """
Provides struct and type for a Response.Computer.ToolCall.SafetyCheck
"""
@type t :: %__MODULE__{code: String.t(), id: String.t(), message: String.t()}
defstruct [:code, :id, :message]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[code: {:string, :generic}, id: {:string, :generic}, message: {:string, :generic}]
end
end