pub struct PromptResolver;Expand description
Resolves a prompt file for a given (function, stack) pair using the ADR-02 fallback chain algorithm:
prompts/{function}/{stack.name}.md.tera- Walk
stack.parent_chainin order prompts/{function}/_default.md.tera- Return
StepError::Failwith an actionable message
Implementations§
Auto Trait Implementations§
impl Freeze for PromptResolver
impl RefUnwindSafe for PromptResolver
impl Send for PromptResolver
impl Sync for PromptResolver
impl Unpin for PromptResolver
impl UnsafeUnpin for PromptResolver
impl UnwindSafe for PromptResolver
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