pub struct AgentRunWithLocalToolsOptions {
pub throw_on_error: bool,
pub timeout_ms: u64,
}Expand description
run_with_local_tools() options。对应 TS AgentRunWithLocalToolsOptions。
Fields§
§throw_on_error: bool§timeout_ms: u64本地工具回调硬超时(毫秒);缺省 30_000。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AgentRunWithLocalToolsOptions
impl RefUnwindSafe for AgentRunWithLocalToolsOptions
impl Send for AgentRunWithLocalToolsOptions
impl Sync for AgentRunWithLocalToolsOptions
impl Unpin for AgentRunWithLocalToolsOptions
impl UnsafeUnpin for AgentRunWithLocalToolsOptions
impl UnwindSafe for AgentRunWithLocalToolsOptions
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