pub struct AgentOptions {
pub model: Option<Choice>,
pub effort: Option<Choice>,
}Expand description
What an agent’s ACP session offers for model and effort. The effort
values are those of the agent’s default model.
Fields§
§model: Option<Choice>§effort: Option<Choice>Trait Implementations§
Source§impl Clone for AgentOptions
impl Clone for AgentOptions
Source§impl Debug for AgentOptions
impl Debug for AgentOptions
Source§impl Default for AgentOptions
impl Default for AgentOptions
Source§impl<'de> Deserialize<'de> for AgentOptions
impl<'de> Deserialize<'de> for AgentOptions
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 Eq for AgentOptions
Source§impl PartialEq for AgentOptions
impl PartialEq for AgentOptions
Source§impl Serialize for AgentOptions
impl Serialize for AgentOptions
impl StructuralPartialEq for AgentOptions
Auto Trait Implementations§
impl Freeze for AgentOptions
impl RefUnwindSafe for AgentOptions
impl Send for AgentOptions
impl Sync for AgentOptions
impl Unpin for AgentOptions
impl UnsafeUnpin for AgentOptions
impl UnwindSafe for AgentOptions
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