The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
async_log_success_event
Ishaan Jaffer3c5e0abaf2e2
diff --git a/tests/proxy_unit_tests/test_configs/custom_callbacks.py b/tests/proxy_unit_tests/test_configs/custom_callbacks.pyindex 42f88b5d19b..c7d66c068e9 100644--- a/tests/proxy_unit_tests/test_configs/custom_callbacks.py+++ b/tests/proxy_unit_tests/test_configs/custom_callbacks.py@@ -61,7 +61,7 @@ class testCustomCallbackProxy(CustomLogger):print("Value of async success: ", self.async_success)print("\n kwargs: ", kwargs)if (- kwargs.get("model") == "azure-embedding-model"+ kwargs.get("model") == "text-embedding-ada-002"or kwargs.get("model") == "ada"):print("Got an embedding model", kwargs.get("model"))@@ -118,4 +118,5 @@ class testCustomCallbackProxy(CustomLogger):self.async_completion_kwargs_fail = kwargs+# Global instance that can be accessed from testsmy_custom_logger = testCustomCallbackProxy()