ReqManagedAgents.SessionResult (ReqManagedAgents v0.1.0)

Copy Markdown View Source

The accumulated outcome of a whole run — what Session.run/2 and message/2 deliver.

Summary

Types

t()

@type t() :: %ReqManagedAgents.SessionResult{
  custom_tool_uses: [ReqManagedAgents.ToolUse.t()],
  events: [map()],
  server_tool_uses: [ReqManagedAgents.ToolUse.t()],
  stop_reason: String.t() | map() | nil,
  terminal: ReqManagedAgents.Provider.terminal(),
  text: String.t(),
  turns: non_neg_integer(),
  usage: ReqManagedAgents.Usage.t()
}