pub struct ToolPromptsSection { /* private fields */ }Expand description
Per-tool behavioral guidance collected from Tool::prompt_text().
Implementations§
Source§impl ToolPromptsSection
impl ToolPromptsSection
pub fn new(tools: Arc<ToolRegistry>) -> Self
Trait Implementations§
Source§impl PromptSection for ToolPromptsSection
impl PromptSection for ToolPromptsSection
Auto Trait Implementations§
impl Freeze for ToolPromptsSection
impl !RefUnwindSafe for ToolPromptsSection
impl Send for ToolPromptsSection
impl Sync for ToolPromptsSection
impl Unpin for ToolPromptsSection
impl UnsafeUnpin for ToolPromptsSection
impl !UnwindSafe for ToolPromptsSection
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