Current section

Files

Jump to
gpt_agent lib gpt_agent events run_failed.ex
Raw

lib/gpt_agent/events/run_failed.ex

defmodule GptAgent.Events.RunFailed do
@moduledoc """
An OpenAI Assistants run was completed
"""
use GptAgent.Types
alias GptAgent.Types
typedstruct enforce: true do
field :id, Types.run_id()
field :thread_id, Types.thread_id()
field :assistant_id, Types.assistant_id()
field :code, Types.run_error_code()
field :message, Types.run_error_message()
end
end