pub struct CodexClient { /* private fields */ }Implementations§
Trait Implementations§
Source§impl LLMClient for CodexClient
impl LLMClient for CodexClient
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 CodexClient
impl !RefUnwindSafe for CodexClient
impl !UnwindSafe for CodexClient
impl Send for CodexClient
impl Sync for CodexClient
impl Unpin for CodexClient
impl UnsafeUnpin for CodexClient
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.