forked from phoenix/litellm-mirror
fix build issues
This commit is contained in:
parent
36f8431bf0
commit
8a8ba96831
1 changed files with 3 additions and 3 deletions
|
@ -194,7 +194,7 @@ const ModelDashboard: React.FC<ModelDashboardProps> = ({
|
|||
|
||||
const EditModelModal: React.FC<EditModelModalProps> = ({ visible, onCancel, model, onSubmit }) => {
|
||||
const [form] = Form.useForm();
|
||||
let litellm_params_to_edit = {}
|
||||
let litellm_params_to_edit: Record<string, any> = {}
|
||||
let model_name = "";
|
||||
let model_id = "";
|
||||
if (model) {
|
||||
|
@ -315,7 +315,7 @@ const handleEditSubmit = async (formValues: Record<string, any>) => {
|
|||
return;
|
||||
}
|
||||
|
||||
let newLiteLLMParams = {}
|
||||
let newLiteLLMParams: Record<string, any> = {}
|
||||
let model_info_model_id = null;
|
||||
|
||||
for (const [key, value] of Object.entries(formValues)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue