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
test_init_custom_logger_compatible_class_as_callback
Ishaan Jafff77882948da2
diff --git a/tests/logging_callback_tests/test_unit_tests_init_callbacks.py b/tests/logging_callback_tests/test_unit_tests_init_callbacks.pyindex 53ad2f7196d..7d77e26aafe 100644--- a/tests/logging_callback_tests/test_unit_tests_init_callbacks.py+++ b/tests/logging_callback_tests/test_unit_tests_init_callbacks.py@@ -28,6 +28,7 @@ from litellm.integrations.prometheus import PrometheusLoggerfrom litellm.integrations.datadog.datadog import DataDogLoggerfrom litellm.integrations.datadog.datadog_llm_obs import DataDogLLMObsLoggerfrom litellm.integrations.gcs_bucket.gcs_bucket import GCSBucketLogger+from litellm.integrations.gcs_pubsub.pub_sub import GcsPubSubLoggerfrom litellm.integrations.opik.opik import OpikLoggerfrom litellm.integrations.opentelemetry import OpenTelemetryfrom litellm.integrations.mlflow import MlflowLogger@@ -70,6 +71,7 @@ callback_class_str_to_classType = {"langfuse": LangfusePromptManagement,"otel": OpenTelemetry,"pagerduty": PagerDutyAlerting,+ "gcs_pubsub": GcsPubSubLogger,}expected_env_vars = {@@ -90,6 +92,8 @@ expected_env_vars = {"ARIZE_API_KEY": "arize_api_key","ARGILLA_API_KEY": "argilla_api_key","PAGERDUTY_API_KEY": "pagerduty_api_key",+ "GCS_PUBSUB_TOPIC_ID": "gcs_pubsub_topic_id",+ "GCS_PUBSUB_PROJECT_ID": "gcs_pubsub_project_id",}