View Source GptAgent (gpt_agent v1.0.0)
Provides a GPT conversation agent
Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.handle_continue/2
.
Initializes the GPT Agent
Starts the GPT Agent
Types
@type t() :: %GptAgent{ assistant_id: binary(), callback_handler: pid(), pid: pid(), run_id: (binary() | nil) | nil, running?: boolean(), thread_id: (binary() | nil) | nil, tool_calls: [GptAgent.Events.ToolCallRequested.t()], tool_outputs: [GptAgent.Events.ToolCallOutputRecorded.t()] }
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Callback implementation for GenServer.handle_continue/2
.
Initializes the GPT Agent
Starts the GPT Agent