pub struct AgentUpdateRequest {
pub name: Option<String>,
pub description: Option<String>,
pub system_prompt: Option<String>,
pub model: Option<String>,
pub tools: Option<Vec<Value>>,
pub config: Option<AgentConfig>,
}Expand description
Request to update an existing agent
Fields§
§name: Option<String>New agent name (optional)
description: Option<String>New description (optional)
system_prompt: Option<String>New system prompt (optional)
model: Option<String>New model (optional)
tools: Option<Vec<Value>>New tools (optional)
config: Option<AgentConfig>New configuration (optional)
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<'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 Serialize for AgentUpdateRequest
impl Serialize for AgentUpdateRequest
Source§impl Validate for AgentUpdateRequest
impl Validate for AgentUpdateRequest
Source§impl<'v_a> ValidateArgs<'v_a> for AgentUpdateRequest
impl<'v_a> ValidateArgs<'v_a> 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