Module dispatch
Expand description
ProviderDispatch — single source of truth for attribution_span!
on the ModelProvider surface.
Structs§
- Accepted
Route - Immutable actual route of a transport-successful Reliable completion.
- Accounted
Attempt - One actual physical provider leaf, in first-poll order.
- Accounted
Call Report - Final immutable accounting projection for one dispatch-scoped call.
- Accounted
Chat Response - A successful response plus billed usage from Reliable attempts that were rejected before that response was accepted.
- Provider
Dispatch - Wraps a model provider so every call opens the correct
attribution_span!automatically. See the module docs for the rationale and the CI gate that enforces routing through this type. - Provider
Dispatch Ref - Rejected
Attempt - Immutable billing identity for one rejected attempt.
Enums§
- Attempt
Usage Outcome - Completeness of one physical provider attempt’s usage observation.
- Call
Accounting State - Derived completeness of all physical leaves in one call report.
- Invalid
Usage Reason - Why a provider supplied usage observation cannot be billed as complete.
Functions§
- commit_
accepted_ provider_ route - Commit a semantically accepted route for the existing fallback presenter.