Skip to main content

create_agent

Function create_agent 

Source
pub fn create_agent<C: LlmClient + Clone + 'static>(
    config: &AgentConfig,
    client: C,
) -> Box<dyn Agent>
Expand description

Create an agent from config + LLM client.

Returns a boxed dyn Agent to erase the concrete type.