Current section

Files

Jump to
opencode_sdk lib opencode generated user_message_summary.ex
Raw

lib/opencode/generated/user_message_summary.ex

defmodule OpenCode.Generated.UserMessageSummary do
@moduledoc """
Provides struct and type for a UserMessageSummary
"""
@type t :: %__MODULE__{
body: String.t() | nil,
diffs: [OpenCode.Generated.FileDiff.t()],
title: String.t() | nil
}
defstruct [:body, :diffs, :title]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[body: :string, diffs: [{OpenCode.Generated.FileDiff, :t}], title: :string]
end
end