pub struct AgentComposition {
pub provider: ProviderConfig,
pub middleware: MiddlewareConfig,
pub extensions: BTreeSet<String>,
pub system_prompt: String,
pub max_model_steps: u64,
}Expand description
Runtime settings an authenticated client may read and replace atomically.
Fields§
§provider: ProviderConfig§middleware: MiddlewareConfig§extensions: BTreeSet<String>§system_prompt: String§max_model_steps: u64Trait Implementations§
Source§impl Clone for AgentComposition
impl Clone for AgentComposition
Source§fn clone(&self) -> AgentComposition
fn clone(&self) -> AgentComposition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AgentComposition
impl Debug for AgentComposition
Source§impl Default for AgentComposition
impl Default for AgentComposition
Source§impl<'de> Deserialize<'de> for AgentComposition
impl<'de> Deserialize<'de> for AgentComposition
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 AgentComposition
Source§impl PartialEq for AgentComposition
impl PartialEq for AgentComposition
Source§impl Serialize for AgentComposition
impl Serialize for AgentComposition
impl StructuralPartialEq for AgentComposition
Auto Trait Implementations§
impl Freeze for AgentComposition
impl RefUnwindSafe for AgentComposition
impl Send for AgentComposition
impl Sync for AgentComposition
impl Unpin for AgentComposition
impl UnsafeUnpin for AgentComposition
impl UnwindSafe for AgentComposition
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