pub enum Provider {
OpenAI,
Anthropic,
Local,
}Expand description
Supported LLM API providers
Variants§
OpenAI
OpenAI API (chat.openai.com)
Anthropic
Anthropic API (claude.ai)
Local
Local or generic OpenAI-compatible API
Implementations§
Source§impl Provider
impl Provider
Sourcepub fn tool_format(&self) -> ToolFormat
pub fn tool_format(&self) -> ToolFormat
Returns the expected format for tool definitions
Trait Implementations§
impl Copy for Provider
impl Eq for Provider
impl StructuralPartialEq for Provider
Auto Trait Implementations§
impl Freeze for Provider
impl RefUnwindSafe for Provider
impl Send for Provider
impl Sync for Provider
impl Unpin for Provider
impl UnwindSafe for Provider
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