pub enum Offering {
Core,
Scoped,
Deferred,
}Expand description
How a tool is offered to the model.
Variants§
Core
Sent on every call: without it the agent cannot do its everyday work (run commands, read and change files, reach the web, keep memory, schedule, track its checklist, delegate).
Scoped
Exists only in a role-scoped run (a task’s, a mandate run’s or a coordinated child’s own tools), where it is sent on every call.
Deferred
Listed by name and one line in load_tools; its schema is sent once
loaded (by load_tools or by calling it).
Implementations§
Trait Implementations§
impl Copy for Offering
impl Eq for Offering
impl StructuralPartialEq for Offering
Auto Trait Implementations§
impl Forget for Offering
impl Freeze for Offering
impl Move for Offering
impl RefUnwindSafe for Offering
impl Send for Offering
impl Sync for Offering
impl Unpin for Offering
impl UnsafeUnpin for Offering
impl UnwindSafe for Offering
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