Skip to main content

AgentModelExt

Trait AgentModelExt 

Source
pub trait AgentModelExt: CompletionModel + Sized {
    // Provided method
    fn into_agent_builder(self) -> AgentBuilder<Self> { ... }
}
Expand description

Adds classic agent construction to every portable completion model.

Provided Methods§

Source

fn into_agent_builder(self) -> AgentBuilder<Self>

Convert this model into a classic agent builder.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<M> AgentModelExt for M
where M: CompletionModel,