(fix) dynamoDB + hashed tokens bug

This commit is contained in:
ishaan-jaff 2024-01-29 11:17:27 -08:00
parent 336c8af01e
commit 2e64ca9057
2 changed files with 6 additions and 0 deletions

View file

@ -116,6 +116,10 @@ def test_call_with_invalid_key(custom_db_client):
def test_call_with_invalid_model(custom_db_client):
# 3. Make a call to a key with an invalid model - expect to fail
from litellm._logging import verbose_proxy_logger
import logging
verbose_proxy_logger.setLevel(logging.DEBUG)
setattr(litellm.proxy.proxy_server, "custom_db_client", custom_db_client)
setattr(litellm.proxy.proxy_server, "master_key", "sk-1234")
try: