forked from phoenix/litellm-mirror
(fix) test img gen proxy
This commit is contained in:
parent
6d408dcce7
commit
2495587e7c
1 changed files with 4 additions and 0 deletions
|
@ -198,6 +198,10 @@ async def image_generation(session, key):
|
|||
print()
|
||||
|
||||
if status != 200:
|
||||
if (
|
||||
"Connection error" in response_text
|
||||
): # OpenAI endpoint returns a connection error
|
||||
pass
|
||||
raise Exception(f"Request did not return a 200 status code: {status}")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue