pub struct Bot {Show 20 fields
pub id: String,
pub name: String,
pub role: String,
pub description: String,
pub persona: String,
pub color: String,
pub model: String,
pub kernel_functions: Vec<KernelPack>,
pub skills: Vec<String>,
pub mcp_servers: Vec<String>,
pub permission_profile: PermissionProfile,
pub auto_learn: AutoLearnMode,
pub short_term_memory: bool,
pub long_term_memory: bool,
pub max_steps: u32,
pub status: BotStatus,
pub is_system: bool,
pub template_id: Option<String>,
pub host_ref: String,
pub container: Option<ContainerProfile>,
}Expand description
A durable AI teammate.
Fields§
§id: String§name: String§role: String§description: String§persona: String§color: String§model: String"default" (workspace default), a profile name, or "provider/model".
kernel_functions: Vec<KernelPack>§skills: Vec<String>§mcp_servers: Vec<String>§permission_profile: PermissionProfile§auto_learn: AutoLearnMode§short_term_memory: bool§long_term_memory: bool§max_steps: u32§status: BotStatus§is_system: bool§template_id: Option<String>§host_ref: StringWhere the bot’s files/shell/desktop tools run: HostRef::LOCAL, a host id or HostRef::AUTO.
container: Option<ContainerProfile>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bot
impl<'de> Deserialize<'de> for Bot
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 Bot
impl RefUnwindSafe for Bot
impl Send for Bot
impl Sync for Bot
impl Unpin for Bot
impl UnsafeUnpin for Bot
impl UnwindSafe for Bot
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