pub struct AgentCreateRequest {
pub name: String,
pub agent_type: Option<String>,
pub system_prompt: Option<String>,
pub model_id: Option<String>,
pub mcps: Option<Vec<String>>,
pub skills: Option<Vec<String>>,
pub introduce: Option<String>,
}Expand description
Request body for creating an agent.
Fields§
§name: String§agent_type: Option<String>§system_prompt: Option<String>§model_id: Option<String>§mcps: Option<Vec<String>>§skills: Option<Vec<String>>§introduce: Option<String>Trait Implementations§
Source§impl Debug for AgentCreateRequest
impl Debug for AgentCreateRequest
Source§impl Default for AgentCreateRequest
impl Default for AgentCreateRequest
Source§fn default() -> AgentCreateRequest
fn default() -> AgentCreateRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AgentCreateRequest
impl RefUnwindSafe for AgentCreateRequest
impl Send for AgentCreateRequest
impl Sync for AgentCreateRequest
impl Unpin for AgentCreateRequest
impl UnsafeUnpin for AgentCreateRequest
impl UnwindSafe for AgentCreateRequest
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