pub struct GrokClient { /* private fields */ }Implementations§
Trait Implementations§
Source§impl LLMClient for GrokClient
impl LLMClient for GrokClient
async fn completion(&self, completion: Completion) -> Result<CompletionResponse>
fn into_arc(self) -> Arc<dyn LLMClientDyn> ⓘwhere
Self: Sized + 'static,
Auto Trait Implementations§
impl !Freeze for GrokClient
impl !RefUnwindSafe for GrokClient
impl !UnwindSafe for GrokClient
impl Forget for GrokClient
impl Move for GrokClient
impl Send for GrokClient
impl Sync for GrokClient
impl Unpin for GrokClient
impl UnsafeUnpin for GrokClient
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> 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.