pub struct SpawnConfig {
pub default_model: String,
pub default_system_prompt: String,
pub default_temperature: f32,
pub max_tokens: u32,
}Expand description
Agent spawn configuration
Fields§
§default_model: StringDefault model to use for new agents
default_system_prompt: StringDefault system prompt
default_temperature: f32Default temperature for responses
max_tokens: u32Maximum tokens per response
Trait Implementations§
Source§impl Clone for SpawnConfig
impl Clone for SpawnConfig
Source§fn clone(&self) -> SpawnConfig
fn clone(&self) -> SpawnConfig
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 SpawnConfig
impl Debug for SpawnConfig
Source§impl Default for SpawnConfig
impl Default for SpawnConfig
Source§impl<'de> Deserialize<'de> for SpawnConfig
impl<'de> Deserialize<'de> for SpawnConfig
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
Auto Trait Implementations§
impl Freeze for SpawnConfig
impl RefUnwindSafe for SpawnConfig
impl Send for SpawnConfig
impl Sync for SpawnConfig
impl Unpin for SpawnConfig
impl UnwindSafe for SpawnConfig
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