mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
handleSubmit took Record<string, any> on both sides of the DynamicForm prop boundary, so nothing checked what the form actually hands the parent. The form store already had a name for it, so AlertingFormValues is exported and used on both sides Narrower than the Record<string, AlertingFieldValue> a reviewer suggested. AlertingFieldValue covers what the parent stores per field, which includes the number and null that handleInputChange reports, while the react-hook-form store only ever holds the strings and booleans its three change handlers write |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||