pub struct AgentChatParameters {
pub temperature: Option<f32>,
pub max_tokens: Option<u32>,
pub thinking_enabled: Option<bool>,
}Expand description
Additional chat parameters
Fields§
§temperature: Option<f32>Temperature override
max_tokens: Option<u32>Max tokens override
thinking_enabled: Option<bool>Enable thinking for this request
Trait Implementations§
Source§impl Clone for AgentChatParameters
impl Clone for AgentChatParameters
Source§fn clone(&self) -> AgentChatParameters
fn clone(&self) -> AgentChatParameters
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 AgentChatParameters
impl Debug for AgentChatParameters
Source§impl<'de> Deserialize<'de> for AgentChatParameters
impl<'de> Deserialize<'de> for AgentChatParameters
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
Source§impl Serialize for AgentChatParameters
impl Serialize for AgentChatParameters
Source§impl Validate for AgentChatParameters
impl Validate for AgentChatParameters
Source§impl<'v_a> ValidateArgs<'v_a> for AgentChatParameters
impl<'v_a> ValidateArgs<'v_a> for AgentChatParameters
Auto Trait Implementations§
impl Freeze for AgentChatParameters
impl RefUnwindSafe for AgentChatParameters
impl Send for AgentChatParameters
impl Sync for AgentChatParameters
impl Unpin for AgentChatParameters
impl UnsafeUnpin for AgentChatParameters
impl UnwindSafe for AgentChatParameters
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