mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
chore(ui): sync schema.d.ts for key team limit warnings
This commit is contained in:
parent
9c890f658d
commit
8c8ae1799b
1 changed files with 19 additions and 2 deletions
21
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
21
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
|
|
@ -16781,7 +16781,6 @@ export interface paths {
|
|||
* - permissions: Optional[dict] - [Not Implemented Yet] User-specific permissions, eg. turning off pii masking.
|
||||
* - metadata: Optional[dict] - Metadata for user, store information for user. Example metadata = {"team": "core-infra", "app": "app2", "email": "ishaan@berri.ai" }
|
||||
* - max_parallel_requests: Optional[int] - Rate limit a user based on the number of parallel requests. Raises 429 error, if user's parallel requests > x.
|
||||
* - soft_budget: Optional[float] - Get alerts when user crosses given budget, doesn't block requests.
|
||||
* - model_max_budget: Optional[dict] - Model-specific max budget for user. [Docs](https://docs.litellm.ai/docs/proxy/users#add-model-specific-budgets-to-keys)
|
||||
* - budget_fallbacks: Optional[Dict[str, List[str]]] - Per-model fallback chain tried in order when that model's own `model_max_budget` is exceeded, e.g. {"gpt-4o": ["gpt-4o-mini"]}.
|
||||
* - model_rpm_limit: Optional[float] - Model-specific rpm limit for user. [Docs](https://docs.litellm.ai/docs/proxy/users#add-model-specific-limits-to-keys)
|
||||
|
|
@ -16887,7 +16886,6 @@ export interface paths {
|
|||
* - permissions: Optional[dict] - [Not Implemented Yet] User-specific permissions, eg. turning off pii masking.
|
||||
* - metadata: Optional[dict] - Metadata for user, store information for user. Example metadata = {"team": "core-infra", "app": "app2", "email": "ishaan@berri.ai" }
|
||||
* - max_parallel_requests: Optional[int] - Rate limit a user based on the number of parallel requests. Raises 429 error, if user's parallel requests > x.
|
||||
* - soft_budget: Optional[float] - Get alerts when user crosses given budget, doesn't block requests.
|
||||
* - model_max_budget: Optional[dict] - Model-specific max budget for user. [Docs](https://docs.litellm.ai/docs/proxy/users#add-model-specific-budgets-to-keys)
|
||||
* - budget_fallbacks: Optional[Dict[str, List[str]]] - Per-model fallback chain tried in order when that model's own `model_max_budget` is exceeded, e.g. {"gpt-4o": ["gpt-4o-mini"]}.
|
||||
* - model_rpm_limit: Optional[float] - Model-specific rpm limit for user. [Docs](https://docs.litellm.ai/docs/proxy/users#add-model-specific-limits-to-keys)
|
||||
|
|
@ -28026,6 +28024,8 @@ export interface components {
|
|||
updated_by?: string | null;
|
||||
/** User Id */
|
||||
user_id?: string | null;
|
||||
/** Warnings */
|
||||
warnings?: components["schemas"]["KeyTeamLimitWarning"][] | null;
|
||||
};
|
||||
/** GenericGuardrailAPIInputs */
|
||||
GenericGuardrailAPIInputs: {
|
||||
|
|
@ -28478,6 +28478,21 @@ export interface components {
|
|||
/** Keys */
|
||||
keys?: string[] | null;
|
||||
};
|
||||
/**
|
||||
* KeyTeamLimitWarning
|
||||
* @description Non-blocking warning when a key limit exceeds its team's effective cap.
|
||||
*/
|
||||
KeyTeamLimitWarning: {
|
||||
/** Effective Team Cap */
|
||||
effective_team_cap: number;
|
||||
/**
|
||||
* Field
|
||||
* @enum {string}
|
||||
*/
|
||||
field: "rpm_limit" | "tpm_limit" | "max_parallel_requests" | "max_budget";
|
||||
/** Requested */
|
||||
requested: number;
|
||||
};
|
||||
/**
|
||||
* KeyUpdateFields
|
||||
* @description Allowlist of bulk-broadcastable fields for /team/key/bulk_update; `extra="forbid"` blocks RBAC/ownership/scope mutations even by team admins.
|
||||
|
|
@ -33091,6 +33106,8 @@ export interface components {
|
|||
user_id?: string | null;
|
||||
/** User Role */
|
||||
user_role?: ("proxy_admin" | "proxy_admin_viewer" | "internal_user" | "internal_user_viewer") | null;
|
||||
/** Warnings */
|
||||
warnings?: components["schemas"]["KeyTeamLimitWarning"][] | null;
|
||||
};
|
||||
/**
|
||||
* OAuth2SecurityScheme
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue