Skip to main content

Interface: CacheMissReason

Defined in: packages/agentos/src/core/llm/providers/IProvider.ts:296

The first point of divergence between this request and the one referenced by cacheDiagnostics.previousMessageId, as reported by Anthropic's cache-diagnostics beta. type is one of the API's discriminants (model_changed | system_changed | tools_changed | messages_changed | previous_message_not_found | unavailable) — kept as an open string so new discriminants pass through without a library update. The *_changed types also carry cacheMissedInputTokens, an estimate of how many input tokens fell after the divergence point (magnitude indicator, not a billing number).

Properties

cacheMissedInputTokens?

optional cacheMissedInputTokens: number

Defined in: packages/agentos/src/core/llm/providers/IProvider.ts:298


type

type: string

Defined in: packages/agentos/src/core/llm/providers/IProvider.ts:297