pub struct AgentConfig {
pub instruction: String,
pub provider: ProviderKind,
pub model: String,
pub structured_output: Option<StructuredOutput>,
pub tools: Vec<Box<dyn Tool>>,
}Fields§
§instruction: String§provider: ProviderKind§model: String§structured_output: Option<StructuredOutput>§tools: Vec<Box<dyn Tool>>Auto Trait Implementations§
impl Freeze for AgentConfig
impl !RefUnwindSafe for AgentConfig
impl Send for AgentConfig
impl Sync for AgentConfig
impl Unpin for AgentConfig
impl !UnwindSafe for AgentConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more