Expand description
Provider-neutral model calls, independent of the agent execution loop. Recorded calls persist metadata only; conversation snapshots belong to the runtime. No credentials or raw provider errors enter the event log.
Modules§
- catalog 🔒
- Trusted, compiled model-provider registration and construction.
- fake
- Deterministic model fixture. Each call consumes one scripted outcome.
- ollama
- Native, non-streaming Ollama chat adapter with a loopback-only transport.
- openai
- OpenAI Responses adapter: stateless, non-streaming, caller-owned history. See SPEC-0016 for supported items and intentionally deferred streaming.
Structs§
- Model
Error - Model
Provider Catalog - Catalog of trusted model-provider factories.
- Model
Provider Implementation - Stable provider implementation metadata for compatibility decisions.
- Model
Registry - Model
Request - Model
Response - Model
Tool - Output
Schema - Provider
Continuation - Opaque adapter-owned continuation, serialized with the conversation. It may contain sensitive context; never include it in metadata events or diagnostics.
- Recorded
Model Response - Registered
Model 🔒 - Tool
Call - Usage
Enums§
- Finish
Reason - Model
Error Kind - Safe diagnostic categories: never attach a raw HTTP body, URL or credential.
- Model
Message
Constants§
Traits§
- Model
Provider - One configured provider/model. The model name and credentials are bound at construction, so requests cannot override their registry alias’s model.
- Model
Provider Factory - A compiled, trusted provider factory registered explicitly by the host.