Expand description
The chat-model abstraction the agent loop runs against.
Decoupling the loop from a concrete client means: (a) the loop is unit-
testable with a scripted mock — no network; (b) any backend (the real
LlmClient, a local model, a replay harness) plugs in by implementing one
method.
Structs§
- Model
Descriptor - Registered model and the request options it supports.
- Model
Registry - Exact-id registry of models a Profile may select.
- Provider
Capabilities - Context-runtime features a provider can carry. Every switch defaults to enabled; an adapter turns one off when its provider cannot honour it, and a host may override the whole set on the runtime.
Enums§
- Model
Registry Error - Model registration or resolution failure.
Traits§
- Chat
Model - Anything that can turn a chat-completion request into a response.