Current section

Files

Jump to
oapi_open_ai lib schemas assistant tool code.ex
Raw

lib/schemas/assistant/tool/code.ex

defmodule OpenAi.Assistant.Tool.Code do
@moduledoc """
Provides struct and type for a Assistant.Tool.Code
"""
@type t :: %__MODULE__{type: String.t()}
defstruct [:type]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[type: {:const, "code_interpreter"}]
end
end