pub struct RetryWithErrorParser<P, T>{
pub inner: Arc<P>,
pub model: Arc<dyn RepairModel>,
pub max_attempts: u32,
pub original_prompt: String,
/* private fields */
}Fields§
§inner: Arc<P>§model: Arc<dyn RepairModel>§max_attempts: u32§original_prompt: StringThe original prompt; passed to the repair model on each retry.
Implementations§
Trait Implementations§
Source§impl<P, T> Parser<T> for RetryWithErrorParser<P, T>
impl<P, T> Parser<T> for RetryWithErrorParser<P, T>
Auto Trait Implementations§
impl<P, T> Freeze for RetryWithErrorParser<P, T>
impl<P, T> !RefUnwindSafe for RetryWithErrorParser<P, T>
impl<P, T> Send for RetryWithErrorParser<P, T>
impl<P, T> Sync for RetryWithErrorParser<P, T>
impl<P, T> Unpin for RetryWithErrorParser<P, T>
impl<P, T> UnsafeUnpin for RetryWithErrorParser<P, T>
impl<P, T> !UnwindSafe for RetryWithErrorParser<P, T>
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