ArchAstro.Types.PresetConfig (archastro v0.2.0)

Copy Markdown

Configuration for a preset routine handler. Controls the agent's behavior, session persistence, and model selection for a given routine or chain step.

Summary

Types

t()

@type t() :: %ArchAstro.Types.PresetConfig{
  instructions: String.t() | ArchAstro.Unset.t(),
  llm: ArchAstro.Types.LLMConfig.t() | ArchAstro.Unset.t(),
  session_mode: String.t() | ArchAstro.Unset.t(),
  session_scope: String.t() | ArchAstro.Unset.t(),
  structured_message_template_ids: [String.t()] | ArchAstro.Unset.t()
}

Functions

from_map(data)

@spec from_map(ArchAstro.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.JSON.object()