mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix don't spam model hub when model list is not defined
This commit is contained in:
parent
5d0bb0b9ae
commit
19baac7a36
1 changed files with 0 additions and 1 deletions
|
@ -774,7 +774,6 @@ export const modelHubCall = async (accessToken: String) => {
|
||||||
|
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
const errorData = await response.text();
|
const errorData = await response.text();
|
||||||
message.error(errorData, 10);
|
|
||||||
throw new Error("Network response was not ok");
|
throw new Error("Network response was not ok");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue