pub struct VgrConfig {
pub targets: Targets,
pub local_supports_images: bool,
pub policy: Policy,
pub mode: ServingMode,
pub checker: Option<ValidatedChecker>,
pub structured_answer: bool,
pub speculation_carry: bool,
pub deadline: Duration,
pub kill_switch: Option<KillSwitch>,
pub breaker: BreakerConfig,
pub task_typing: bool,
pub latch_escalation: bool,
}Expand description
A complete verification-gated route.
Fields§
§targets: TargetsThe tiers to route between and consult.
local_supports_images: boolWhether the local tier accepts image content.
False by default because an undeclared local capability must not turn an image-bearing request into a failed speculative call.
policy: PolicyThe decision constants. Defaults to the current policy.
mode: ServingModeHow much authority decisions have.
checker: Option<ValidatedChecker>A checker bound to its authenticated pinned-manifest evidence.
structured_answer: boolWhether the operator declares this surface enforces a schema-validated terse final-answer format, on which typed agreement is checkable.
speculation_carry: boolWhether an escalation carries the local attempt forward as context.
Per-route rather than global: carrying the attempt was measured to help substantially on research-style work and to hurt on conversational work.
deadline: DurationThe budget for the whole decision, verification included.
Exceeding it does not fail the request; it ends evidence gathering, and whatever was not established stays unestablished — which escalates.
kill_switch: Option<KillSwitch>An operator handle that stops local commits without rebuilding the route.
Unset means no runtime stop exists, which is not the same as one that is never engaged: the operator must hold a handle for there to be anything to engage.
breaker: BreakerConfigTuning for the local-endpoint circuit breaker.
task_typing: boolWhether the router types the request before deriving capabilities.
Typing costs one cheap local call per turn and is what makes the answer and conversational regimes reachable at all; abstaining selects the default regime, which is more conservative rather than weaker.
latch_escalation: boolWhether a session that escalated stays on the capable tier.
Off by default: holding a session on the capable tier is a cost decision an operator makes, not one this router should make for them.