pub struct ProviderConfigs;
Expand description
预定义的提供商配置,支持多种AI服务
Predefined provider configurations for multiple AI services
Implementations§
Source§impl ProviderConfigs
impl ProviderConfigs
pub fn groq() -> ProviderConfig
pub fn openai() -> ProviderConfig
pub fn deepseek() -> ProviderConfig
Sourcepub fn groq_as_generic() -> ProviderConfig
pub fn groq_as_generic() -> ProviderConfig
Groq configuration - proving OpenAI compatibility
Sourcepub fn anthropic() -> ProviderConfig
pub fn anthropic() -> ProviderConfig
Anthropic Claude configuration - requires special handling
Auto Trait Implementations§
impl Freeze for ProviderConfigs
impl RefUnwindSafe for ProviderConfigs
impl Send for ProviderConfigs
impl Sync for ProviderConfigs
impl Unpin for ProviderConfigs
impl UnwindSafe for ProviderConfigs
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