feat(proxy_server.py): /key/delete endpoint

This commit is contained in:
Krrish Dholakia 2023-11-23 21:37:46 -08:00
parent 0c210cc96c
commit 9a44433844
2 changed files with 40 additions and 2 deletions

View file

@ -79,6 +79,7 @@ def test_sync_fallbacks():
litellm.set_verbose = True
response = router.completion(**kwargs)
print(f"response: {response}")
router.flush_cache()
except Exception as e:
print(e)
test_sync_fallbacks()
@ -96,6 +97,7 @@ def test_async_fallbacks():
pass
except Exception as e:
pytest.fail(f"An exception occurred: {e}")
router.flush_cache()
asyncio.run(test_get_response())
@ -110,5 +112,6 @@ def test_sync_context_window_fallbacks():
print(f"response: {response}")
except Exception as e:
print(e)
router.flush_cache()
# test_sync_context_window_fallbacks()