fixed issues #8126 and #8127 (#8275) (#8299)

Co-authored-by: Jaswanth Karani <karani.jaswanth@gmail.com>
This commit is contained in:
Ishaan Jaff 2025-02-05 18:52:58 -08:00 committed by GitHub
parent b76b380bc8
commit e41bc5f32b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 4 deletions

View file

@ -98,7 +98,7 @@ export const modelCreateCall = async (
const data = await response.json();
console.log("API Response:", data);
message.success(
"Model created successfully. Wait 60s and refresh on 'All Models' page"
"Model created successfully"
);
return data;
} catch (error) {
@ -168,7 +168,6 @@ export const modelDeleteCall = async (
const data = await response.json();
console.log("API Response:", data);
message.success("Model deleted successfully. Restart server to see this.");
return data;
} catch (error) {
console.error("Failed to create key:", error);