pub enum AgentType {
OpenAI(Agent<ResponsesCompletionModel>),
Anthropic(Agent<CompletionModel>),
Cohere(Agent<CompletionModel>),
DeepSeek(Agent<CompletionModel>),
Ollama(Agent<CompletionModel>),
}Expand description
Agent enum to handle different provider types
This enum wraps agents from different LLM providers, allowing you to work with them through a unified interface.
Variants§
OpenAI(Agent<ResponsesCompletionModel>)
OpenAI agent
Anthropic(Agent<CompletionModel>)
Anthropic Claude agent
Cohere(Agent<CompletionModel>)
Cohere agent
DeepSeek(Agent<CompletionModel>)
DeepSeek agent
Ollama(Agent<CompletionModel>)
Ollama local agent
Auto Trait Implementations§
impl Freeze for AgentType
impl !RefUnwindSafe for AgentType
impl Send for AgentType
impl Sync for AgentType
impl Unpin for AgentType
impl UnsafeUnpin for AgentType
impl !UnwindSafe for AgentType
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