pub struct ExecutionProfile {
pub model_selector: ModelSelector,
pub temperature: Temperature,
pub top_p: TopP,
pub top_k: TopK,
pub token_limit: TokenLimit,
pub tool_choice: ToolChoice,
}Expand description
Model execution knobs applied to agent turns.
Fields§
§model_selector: ModelSelector§temperature: Temperature§top_p: TopP§top_k: TopK§token_limit: TokenLimit§tool_choice: ToolChoiceImplementations§
Source§impl ExecutionProfile
impl ExecutionProfile
Sourcepub fn deterministic() -> Self
pub fn deterministic() -> Self
Returns a profile tuned for reproducible, low-variance outputs.
Trait Implementations§
Source§impl Clone for ExecutionProfile
impl Clone for ExecutionProfile
Source§fn clone(&self) -> ExecutionProfile
fn clone(&self) -> ExecutionProfile
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 ExecutionProfile
impl Debug for ExecutionProfile
Auto Trait Implementations§
impl Freeze for ExecutionProfile
impl RefUnwindSafe for ExecutionProfile
impl Send for ExecutionProfile
impl Sync for ExecutionProfile
impl Unpin for ExecutionProfile
impl UnsafeUnpin for ExecutionProfile
impl UnwindSafe for ExecutionProfile
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