From 485c40b9aebc43f52450eec60fb4aefd680dcd3f Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Mon, 11 Dec 2023 10:12:01 -0800 Subject: [PATCH] (test) proxy --- litellm/tests/test_amazing_proxy_custom_logger.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/litellm/tests/test_amazing_proxy_custom_logger.py b/litellm/tests/test_amazing_proxy_custom_logger.py index 3b0506cae3..18eea0b525 100644 --- a/litellm/tests/test_amazing_proxy_custom_logger.py +++ b/litellm/tests/test_amazing_proxy_custom_logger.py @@ -16,6 +16,11 @@ from litellm import embedding, completion, completion_cost, Timeout from litellm import RateLimitError import importlib, inspect +# init callbacks to be empty +litellm.success_callback = [] +litellm.callbacks = [] +litellm.failure_callback = [] + # test /chat/completion request to the proxy from fastapi.testclient import TestClient from fastapi import FastAPI