forked from phoenix/litellm-mirror
(test) ExceededTokenBudget
This commit is contained in:
parent
8979b74d49
commit
e846b8fca8
1 changed files with 1 additions and 1 deletions
|
@ -664,7 +664,7 @@ def test_call_with_key_over_budget(prisma_client):
|
||||||
asyncio.run(test())
|
asyncio.run(test())
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
error_detail = e.detail
|
error_detail = e.detail
|
||||||
assert "Authentication Error, ExceededBudget:" in error_detail
|
assert "Authentication Error, ExceededTokenBudget:" in error_detail
|
||||||
print(vars(e))
|
print(vars(e))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue