Jido.Agent.Server.Skills (Jido v1.1.0-rc.2)
View SourceFunctions for building and managing skills in the agent server.
Summary
Functions
Builds the skills for the agent server.
Functions
@spec build(Jido.Agent.Server.State.t(), Keyword.t()) :: {:ok, Jido.Agent.Server.State.t(), Keyword.t()} | {:error, String.t()}
Builds the skills for the agent server.
This function takes a list of skills from the options and adds them to the server state. It also collects any routes and child_specs from the skills and adds them to the options.
Parameters
state
- The current server stateopts
- The options for the server
Returns
{:ok, state, opts}
- The updated state and options{:error, reason}
- An error occurred