mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix(proxy_server.py): fix exception raising
This commit is contained in:
parent
8f989235ea
commit
1a452057af
2 changed files with 24 additions and 10 deletions
|
@ -160,7 +160,6 @@ def test_chat_completion_exception_any_model(client):
|
|||
response = client.post("/chat/completions", json=test_data)
|
||||
|
||||
json_response = response.json()
|
||||
print("keys in json response", json_response.keys())
|
||||
assert json_response.keys() == {"error"}
|
||||
|
||||
# make an openai client to call _make_status_error_from_response
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue