pub struct ProviderToolsConfig {
pub anthropic: AnthropicProviderToolsConfig,
pub openai: OpenAiProviderToolsConfig,
pub gemini: GeminiProviderToolsConfig,
}Expand description
Per-provider defaults for provider-native tools (web search, etc.).
These defaults are resolved at factory build time and injected as
non-persisted AgentConfig.provider_tool_defaults. The enabled flags
here control whether the factory injects tool config for models whose
ModelProfile.supports_web_search is true.
Fields§
§anthropic: AnthropicProviderToolsConfig§openai: OpenAiProviderToolsConfig§gemini: GeminiProviderToolsConfigTrait Implementations§
Source§impl Clone for ProviderToolsConfig
impl Clone for ProviderToolsConfig
Source§fn clone(&self) -> ProviderToolsConfig
fn clone(&self) -> ProviderToolsConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProviderToolsConfig
impl Debug for ProviderToolsConfig
Source§impl Default for ProviderToolsConfig
impl Default for ProviderToolsConfig
Source§fn default() -> ProviderToolsConfig
fn default() -> ProviderToolsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProviderToolsConfigwhere
ProviderToolsConfig: Default,
impl<'de> Deserialize<'de> for ProviderToolsConfigwhere
ProviderToolsConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProviderToolsConfig
impl PartialEq for ProviderToolsConfig
Source§impl Serialize for ProviderToolsConfig
impl Serialize for ProviderToolsConfig
impl StructuralPartialEq for ProviderToolsConfig
Auto Trait Implementations§
impl Freeze for ProviderToolsConfig
impl RefUnwindSafe for ProviderToolsConfig
impl Send for ProviderToolsConfig
impl Sync for ProviderToolsConfig
impl Unpin for ProviderToolsConfig
impl UnsafeUnpin for ProviderToolsConfig
impl UnwindSafe for ProviderToolsConfig
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