pub struct AgentProfile {
pub model: Model,
pub instructions: String,
pub tools: Vec<Arc<dyn Tool>>,
pub skills: Vec<Arc<Skill>>,
pub sandbox: Arc<dyn Sandbox>,
pub thinking: ThinkingLevel,
pub limits: Limits,
}Expand description
A fully-resolved agent profile.
Built incrementally via AgentSpec and frozen into an Agent by
define_agent. This is the Rust shape of Flue’s AgentProfile.
Fields§
§model: ModelWhich model to use.
instructions: StringSystem instructions.
tools: Vec<Arc<dyn Tool>>Tools the agent may call.
skills: Vec<Arc<Skill>>Skills (SKILL.md) injected into context.
sandbox: Arc<dyn Sandbox>The sandbox providing the session environment.
thinking: ThinkingLevelReasoning effort.
limits: LimitsResource limits forwarded to the sandbox.
Trait Implementations§
Source§impl Clone for AgentProfile
impl Clone for AgentProfile
Source§fn clone(&self) -> AgentProfile
fn clone(&self) -> AgentProfile
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for AgentProfile
impl !UnwindSafe for AgentProfile
impl Freeze for AgentProfile
impl Send for AgentProfile
impl Sync for AgentProfile
impl Unpin for AgentProfile
impl UnsafeUnpin for AgentProfile
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