pub struct AgentData {
pub name: String,
pub provider: String,
pub model_name: String,
pub system_prompt: Option<String>,
pub thinking: bool,
pub temperature: Option<f64>,
}Fields§
§name: String§provider: String§model_name: String§system_prompt: Option<String>§thinking: boolWhether extended reasoning / thinking is enabled for this agent.
Resolved by the engine from the agent’s thinking property and the
backing model’s capability. See models::is_thinking_capable.
temperature: Option<f64>Sampling temperature, when the user pinned one via temperature: <float> on the agent block. None means “use the provider
default” — the engine will not set the field on outgoing request
bodies in that case. Per-task overrides are computed at the call
site from Stmt::TaskDef::temperature (issue #330).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AgentData
impl<'de> Deserialize<'de> for AgentData
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
impl StructuralPartialEq for AgentData
Auto Trait Implementations§
impl Freeze for AgentData
impl RefUnwindSafe for AgentData
impl Send for AgentData
impl Sync for AgentData
impl Unpin for AgentData
impl UnsafeUnpin for AgentData
impl UnwindSafe for AgentData
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