mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-01 07:03:02 +00:00
chore(ui): regen schema.d.ts for Jev tuning fields (complexity_confidence_min, complexity_max, confidence_threshold)
This commit is contained in:
parent
ce9c25c0ed
commit
ff4d61ed92
1 changed files with 53 additions and 0 deletions
53
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
53
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue