LlmCore.Router.RouteEntry (llm_core v0.3.0)

Copy Markdown View Source

Represents a routing rule entry mapping a task type to an agent alias.

Summary

Functions

Builds a route entry from YAML (string, list, or map).

Types

t()

@type t() :: %LlmCore.Router.RouteEntry{
  alias: String.t(),
  capabilities: map(),
  mode: :abstracted | :passthrough
}

Functions

from_config(str)

@spec from_config(term()) :: t() | nil

Builds a route entry from YAML (string, list, or map).