chore(ui): regen schema.d.ts for Jev tuning fields (complexity_confidence_min, complexity_max, confidence_threshold)

This commit is contained in:
Nguyen Quang Minh 2026-09-24 08:43:07 +07:00 • committed by n24q02m
parent ce9c25c0ed
commit ff4d61ed92

View file

@ -33168,6 +33168,59 @@ export interface components {
/** Updated By */
updated_by?: string | null;
};
/** JevClassifierConfig */
JevClassifierConfig: {
/**
* Api Base
* @description TypeSafe API base, falling back to TYPESAFE_API_BASE and then https://api.typesafe.ai
*/
api_base?: string | null;
/**
* Api Key
* @description TypeSafe API key, falling back to TYPESAFE_API_KEY
*/
api_key?: string | null;
/**
* Circuit Breaker Cooldown Seconds
* @default 30
*/
circuit_breaker_cooldown_seconds: number;
/**
* Circuit Breaker Enabled
* @default true
*/
circuit_breaker_enabled: boolean;
/**
* Complexity Confidence Min
* @description Minimum confidence (0-1) required on the complexity answer before a route-down is applied. The built-in Jev request asks only the tier question today, so an absent complexity answer counts as confidence 0.0: while this is set above 0.0 every route-down is refused. None disables the gate.
*/
complexity_confidence_min?: number | null;
/**
* Complexity Max
* @description Maximum request complexity (0-1) a route-down verdict may carry. The built-in Jev request asks only the tier question today, so an absent complexity answer counts as the hardest score (1.0): while this is set below 1.0 every route-down is refused until the classifier protocol carries a complexity answer. Wire complexity scores arrive as weighted level indices (0..levels-1), so a future score question must normalize to 0-1 before this gate (routing-spec v1.1). None disables the gate.
*/
complexity_max?: number | null;
/**
* Confidence Threshold
* @description Minimum classifier confidence (0-1) required before a verdict that routes below the strongest tier is applied. None keeps the current behavior of applying every valid verdict. A refused route-down falls back like any other unusable verdict (fallback_tier, classifier_fallback, or the llm_v2 capable tier), so pair a threshold with an expensive fallback to fail expensive. Pick per pool: 0.55-0.65 suits a pool whose cheap tier is nearly as capable as its top tier; 0.85 suits a pool with a large capability gap.
*/
confidence_threshold?: number | null;
/**
* Instructions
* @description Replaces the built-in Jev question instructions
*/
instructions?: string | null;
/**
* Model
* @default jev-latest
*/
model: string;
/**
* Timeout Ms
* @default 3000
*/
timeout_ms: number;
};
JsonValue: unknown;
/** KeyActivityRow */
KeyActivityRow: {