EffectiveCaps class final

The resolved capability triple plus the compat surfels the adapters consume. Produced by resolveModelCapabilities; every consumer (the request build, the ctx meter, compaction thresholds) reads the SAME instance's numbers — one resolver, three consumers (AC2).

Constructors

EffectiveCaps({required int contextWindow, required int maxTokens, required String? thinkingLevel, required String? maxTokensField, required bool omitMaxOutputTokens, List<String> notes = const []})
const

Properties

contextWindow → int
Effective total context window (the global cap already applied).
final
hashCode → int
The hash code for this object.
no setterinherited
maxTokens → int
Effective maximum output tokens.
final
maxTokensField → String?
The max-output wire field this model family documents (max_completion_tokens / max_tokens / maxOutputTokens); a status-surface documentation value — the adapters keep their own compat detection.
final
notes → List<String>
Loud resolution notes: gate drops (E3), endpoint divergences (E1), catalog-miss warnings (E4). Hosts render them; the wire never sees them.
final
omitMaxOutputTokens → bool
Whether the max-output field must be omitted on the wire (AC7).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
thinkingLevel → String?
Effective thinking rung (post-gate; null = no thinking requested).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited