Spatio.Model.Agent (spatio_sdk v0.0.2)

Stored agent configuration (system prompt + tool selection). User-defined agents and preconfigured agents share this shape.

Summary

Types

t()

@type t() :: %Spatio.Model.Agent{
  color: String.t() | nil,
  createdAt: DateTime.t() | nil,
  description: String.t() | nil,
  icon: String.t() | nil,
  id: String.t(),
  isDefault: boolean() | nil,
  isPreconfigured: boolean() | nil,
  metadata: %{optional(String.t()) => any()} | nil,
  name: String.t() | nil,
  systemPrompt: String.t() | nil,
  tools: [String.t()] | nil,
  updatedAt: DateTime.t() | nil
}

Functions

decode(value)