pub struct TasksStartAgentRequest {
pub agent_type: String,
pub description: Option<String>,
pub model: Option<String>,
pub name: String,
pub prompt: String,
}Expand description
Agent type, prompt, name, and optional description and model override for the new task.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§agent_type: StringType of agent to start (e.g., ‘explore’, ‘task’, ‘general-purpose’)
description: Option<String>Short description of the task
model: Option<String>Optional model override
name: StringShort name for the agent, used to generate a human-readable ID
prompt: StringTask prompt for the agent
Trait Implementations§
Source§impl Clone for TasksStartAgentRequest
impl Clone for TasksStartAgentRequest
Source§fn clone(&self) -> TasksStartAgentRequest
fn clone(&self) -> TasksStartAgentRequest
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 TasksStartAgentRequest
impl Debug for TasksStartAgentRequest
Source§impl Default for TasksStartAgentRequest
impl Default for TasksStartAgentRequest
Source§fn default() -> TasksStartAgentRequest
fn default() -> TasksStartAgentRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TasksStartAgentRequest
impl<'de> Deserialize<'de> for TasksStartAgentRequest
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 TasksStartAgentRequest
impl RefUnwindSafe for TasksStartAgentRequest
impl Send for TasksStartAgentRequest
impl Sync for TasksStartAgentRequest
impl Unpin for TasksStartAgentRequest
impl UnsafeUnpin for TasksStartAgentRequest
impl UnwindSafe for TasksStartAgentRequest
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