pub struct BashToolConfig {
pub enabled: Option<bool>,
pub description: Option<String>,
pub schema_tier: Option<String>,
pub timeout_secs: Option<u64>,
}Expand description
[core.tools.bash] — maps onto a real crate::config::ToolOverride
(enabled/description/schema_tier/timeout_secs) via
HarnessConfig::to_config_profile (P4e closes the timeout_secs gap
S14 flagged — BashTool’s timeout is consumed via
tools::ToolContext::bash_timeout_secs, threaded from
agent::build_tool_context, not the ToolOverride struct directly,
since Tool::execute only sees a ToolContext, not the resolved
Config/ToolOverride map — see that field’s doc comment).
Fields§
§enabled: Option<bool>ToolOverride::enabled for bash.
description: Option<String>ToolOverride::description for bash.
schema_tier: Option<String>ToolOverride::schema_tier for bash.
timeout_secs: Option<u64>ToolOverride::timeout_secs for bash (P4e).
Trait Implementations§
Source§impl Clone for BashToolConfig
impl Clone for BashToolConfig
Source§fn clone(&self) -> BashToolConfig
fn clone(&self) -> BashToolConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BashToolConfig
impl Debug for BashToolConfig
Source§impl Default for BashToolConfig
impl Default for BashToolConfig
Source§fn default() -> BashToolConfig
fn default() -> BashToolConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BashToolConfig
impl<'de> Deserialize<'de> for BashToolConfig
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 BashToolConfig
impl PartialEq for BashToolConfig
Source§impl Serialize for BashToolConfig
impl Serialize for BashToolConfig
impl StructuralPartialEq for BashToolConfig
Auto Trait Implementations§
impl Freeze for BashToolConfig
impl RefUnwindSafe for BashToolConfig
impl Send for BashToolConfig
impl Sync for BashToolConfig
impl Unpin for BashToolConfig
impl UnsafeUnpin for BashToolConfig
impl UnwindSafe for BashToolConfig
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