pub struct AgentUpdateRequest {
pub instructions: Option<Option<String>>,
pub tools: Option<Vec<ToolsInner>>,
pub completion_args: Option<Box<CompletionArgs>>,
pub guardrails: Option<Option<Vec<GuardrailConfig>>>,
pub model: Option<Option<String>>,
pub name: Option<Option<String>>,
pub description: Option<Option<String>>,
pub handoffs: Option<Option<Vec<String>>>,
pub deployment_chat: Option<Option<bool>>,
pub metadata: Option<Option<HashMap<String, Value>>>,
pub version_message: Option<Option<String>>,
}Fields§
§instructions: Option<Option<String>>§tools: Option<Vec<ToolsInner>>List of tools which are available to the model during the conversation.
completion_args: Option<Box<CompletionArgs>>Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
guardrails: Option<Option<Vec<GuardrailConfig>>>§model: Option<Option<String>>§name: Option<Option<String>>§description: Option<Option<String>>§handoffs: Option<Option<Vec<String>>>§deployment_chat: Option<Option<bool>>§metadata: Option<Option<HashMap<String, Value>>>Custom type for metadata with embedded validation.
version_message: Option<Option<String>>Implementations§
Source§impl AgentUpdateRequest
impl AgentUpdateRequest
pub fn new() -> AgentUpdateRequest
Trait Implementations§
Source§impl Clone for AgentUpdateRequest
impl Clone for AgentUpdateRequest
Source§fn clone(&self) -> AgentUpdateRequest
fn clone(&self) -> AgentUpdateRequest
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 AgentUpdateRequest
impl Debug for AgentUpdateRequest
Source§impl Default for AgentUpdateRequest
impl Default for AgentUpdateRequest
Source§fn default() -> AgentUpdateRequest
fn default() -> AgentUpdateRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentUpdateRequest
impl<'de> Deserialize<'de> for AgentUpdateRequest
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 PartialEq for AgentUpdateRequest
impl PartialEq for AgentUpdateRequest
Source§impl Serialize for AgentUpdateRequest
impl Serialize for AgentUpdateRequest
impl StructuralPartialEq for AgentUpdateRequest
Auto Trait Implementations§
impl Freeze for AgentUpdateRequest
impl RefUnwindSafe for AgentUpdateRequest
impl Send for AgentUpdateRequest
impl Sync for AgentUpdateRequest
impl Unpin for AgentUpdateRequest
impl UnsafeUnpin for AgentUpdateRequest
impl UnwindSafe for AgentUpdateRequest
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