mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
style(ui): format keyEditFormValues with prettier
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
bed57c6ba6
commit
cd9e901899
1 changed files with 2 additions and 1 deletions
|
|
@ -68,7 +68,8 @@ export const toKeyEditFormValues = (keyData: KeyResponse): KeyEditFormValues =>
|
|||
allowed_routes:
|
||||
Array.isArray(keyData.allowed_routes) && keyData.allowed_routes.length > 0 ? keyData.allowed_routes.join(", ") : "",
|
||||
max_budget: keyData.max_budget,
|
||||
soft_budget: (keyData.litellm_budget_table as { soft_budget?: number | null } | null | undefined)?.soft_budget ?? null,
|
||||
soft_budget:
|
||||
(keyData.litellm_budget_table as { soft_budget?: number | null } | null | undefined)?.soft_budget ?? null,
|
||||
budget_duration: canonicalBudgetDuration(keyData.budget_duration),
|
||||
tpm_limit: keyData.tpm_limit,
|
||||
tpm_limit_type: (keyData as { tpm_limit_type?: string | null }).tpm_limit_type ?? null,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue