pub struct RetryingLLM<C> { /* private fields */ }Trait Implementations§
Source§impl<C: LLMClient> LLMClient for RetryingLLM<C>
impl<C: LLMClient> LLMClient for RetryingLLM<C>
async fn completion(&self, completion: Completion) -> Result<CompletionResponse>
fn into_arc(self) -> Arc<dyn LLMClientDyn> ⓘwhere
Self: Sized + 'static,
Auto Trait Implementations§
impl<C> Freeze for RetryingLLM<C>where
C: Freeze,
impl<C> RefUnwindSafe for RetryingLLM<C>where
C: RefUnwindSafe,
impl<C> Send for RetryingLLM<C>where
C: Send,
impl<C> Sync for RetryingLLM<C>where
C: Sync,
impl<C> Unpin for RetryingLLM<C>where
C: Unpin,
impl<C> UnsafeUnpin for RetryingLLM<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for RetryingLLM<C>where
C: UnwindSafe,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> LLMClientDyn for Twhere
T: LLMClient,
impl<T> LLMClientDyn for Twhere
T: LLMClient,
fn completion( &self, completion: Completion, ) -> Pin<Box<dyn Future<Output = Result<CompletionResponse, Report>> + Send + '_>>
Source§fn fork_for_agent(&self) -> Option<Arc<dyn LLMClientDyn>>
fn fork_for_agent(&self) -> Option<Arc<dyn LLMClientDyn>>
Fork mutable routing state for an independently progressing agent while retaining shared
provider clients and run-wide route availability. Stateless clients return
None and may
safely be shared by Arc.