mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
(fix) img gen endpoints unstable
This commit is contained in:
parent
740d2d9a3a
commit
ce9fd8b351
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ async def image_generation(session, key):
|
|||
if (
|
||||
"Connection error" in response_text
|
||||
): # OpenAI endpoint returns a connection error
|
||||
pass
|
||||
return
|
||||
raise Exception(f"Request did not return a 200 status code: {status}")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue