mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
Co-authored-by: Jaswanth Karani <karani.jaswanth@gmail.com>
This commit is contained in:
parent
b76b380bc8
commit
e41bc5f32b
4 changed files with 9 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue