Skip to main content

Module client

Module client 

Source
Expand description

The LlmClient trait and its shared types.

Structs§

CompletionResult
One completion response.
NoOpLlmClient
Placeholder client that always returns LlmError::NoLlmAvailable. Used by callers that need a &dyn LlmClient value but know they will never actually invoke it (e.g., when running only non-LLM mutators).
TokenUsage
Token usage reported by the provider. Both fields are 0 if unknown.

Traits§

LlmClient
Shared interface for LLM clients.