pub struct PhiAgentConfig {
pub model: String,
pub enable_thinking: bool,
pub thinking_budget: Option<u64>,
pub thinking_effort: ReasoningEffort,
pub safety: SafetyConfig,
}Expand description
phi-agent configuration (tool-agnostic)
Fields§
§model: String§enable_thinking: bool§thinking_budget: Option<u64>§thinking_effort: ReasoningEffort§safety: SafetyConfigTrait Implementations§
Source§impl Clone for PhiAgentConfig
impl Clone for PhiAgentConfig
Source§fn clone(&self) -> PhiAgentConfig
fn clone(&self) -> PhiAgentConfig
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 moreAuto Trait Implementations§
impl Freeze for PhiAgentConfig
impl RefUnwindSafe for PhiAgentConfig
impl Send for PhiAgentConfig
impl Sync for PhiAgentConfig
impl Unpin for PhiAgentConfig
impl UnsafeUnpin for PhiAgentConfig
impl UnwindSafe for PhiAgentConfig
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