pub struct LlmCall;Expand description
Marker for LLM provider calls.
- Input:
ChatParams - Output:
Result<ChatResponse, LlmError>
§Status: Reserved
This domain marker is defined for future use but not yet integrated.
Unlike ToolExec (which is wired into ToolRegistry),
there is currently no Provider wrapper that executes through an
InterceptorStack<LlmCall>.
The marker exists so that:
- Generic interceptors (
Retry,Timeout,Logging) already work with it - Future provider-level interception can be added without breaking changes
To use LlmCall today, you would need to build your own wrapper that
implements Provider and delegates through an InterceptorStack<LlmCall>.
Trait Implementations§
Source§impl Interceptable for LlmCall
impl Interceptable for LlmCall
Source§type Input = ChatParams
type Input = ChatParams
Input to the operation.
Auto Trait Implementations§
impl Freeze for LlmCall
impl RefUnwindSafe for LlmCall
impl Send for LlmCall
impl Sync for LlmCall
impl Unpin for LlmCall
impl UnwindSafe for LlmCall
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