fix(ui): clarify blank TPM/RPM hint on budget modals (#40697)

Co-authored-by: jesus <jesus@berri.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
devin-ai-integration[bot] 2026-09-12 12:08:08 -07:00 committed by GitHub
parent 27f8d2a9ba
commit 49f94cf832
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -82,7 +82,7 @@ const BudgetModal: React.FC<BudgetModalProps> = ({ isModalVisible, setIsModalVis
control={form.control}
name="tpm_limit"
label="Max Tokens per minute"
description="Default is model limit."
description="Leave blank for no LiteLLM limit. Provider rate limits still apply."
>
{({ ref, value, onChange, ...field }) => (
<Input
@ -99,7 +99,7 @@ const BudgetModal: React.FC<BudgetModalProps> = ({ isModalVisible, setIsModalVis
control={form.control}
name="rpm_limit"
label="Max Requests per minute"
description="Default is model limit."
description="Leave blank for no LiteLLM limit. Provider rate limits still apply."
>
{({ ref, value, onChange, ...field }) => (
<Input

View file

@ -88,7 +88,7 @@ const EditBudgetModal: React.FC<EditBudgetModalProps> = ({ isModalVisible, setIs
control={form.control}
name="tpm_limit"
label="Max Tokens per minute"
description="Default is model limit."
description="Leave blank for no LiteLLM limit. Provider rate limits still apply."
>
{({ ref, value, onChange, ...field }) => (
<Input
@ -105,7 +105,7 @@ const EditBudgetModal: React.FC<EditBudgetModalProps> = ({ isModalVisible, setIs
control={form.control}
name="rpm_limit"
label="Max Requests per minute"
description="Default is model limit."
description="Leave blank for no LiteLLM limit. Provider rate limits still apply."
>
{({ ref, value, onChange, ...field }) => (
<Input