AgentSea.Agent.Config (agentsea_core v0.1.0)

Copy Markdown

Static configuration for an AgentSea.Agent.

Summary

Types

guard()

@type guard() :: (String.t() -> {:ok, String.t()} | {:block, term()})

t()

@type t() :: %AgentSea.Agent.Config{
  description: String.t() | nil,
  effort: atom() | nil,
  input_guard: guard() | nil,
  max_iterations: pos_integer(),
  max_tokens: pos_integer() | nil,
  model: String.t(),
  name: atom() | String.t(),
  output_guard: guard() | nil,
  provider: {module(), keyword()},
  role: AgentSea.Role.t() | nil,
  system_prompt: String.t() | nil,
  temperature: float() | nil,
  thinking: term(),
  tools: [module()]
}