mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-29 04:20:42 +00:00
fix azure gpt-4o test
This commit is contained in:
@@ -935,6 +935,9 @@ def test_completion_base64(model):
|
||||
print(f"\nResponse: {resp}")
|
||||
|
||||
prompt_tokens = resp.usage.prompt_tokens
|
||||
except litellm.ServiceUnavailableError as e:
|
||||
print("got service unavailable error: ", e)
|
||||
pass
|
||||
except Exception as e:
|
||||
if "500 Internal error encountered.'" in str(e):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user