fix build issues

This commit is contained in:
Ishaan Jaff 2024-04-24 13:29:10 -07:00
parent 36f8431bf0
commit 8a8ba96831

View file

@ -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)) {