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
feat(pointfive): register the pointfive callback
Yinon Kahta224c7d62162f
diff --git a/litellm/litellm_core_utils/custom_logger_registry.py b/litellm/litellm_core_utils/custom_logger_registry.pyindex 6449aa4d46e..6294f3bc577 100644--- a/litellm/litellm_core_utils/custom_logger_registry.py+++ b/litellm/litellm_core_utils/custom_logger_registry.py@@ -43,6 +43,7 @@ from litellm.integrations.newrelic import NewRelicLoggerfrom litellm.integrations.openmeter import OpenMeterLoggerfrom litellm.integrations.opentelemetry import OpenTelemetryfrom litellm.integrations.opik.opik import OpikLogger+from litellm.integrations.pointfive import PointFiveLoggerfrom litellm.integrations.posthog import PostHogLoggerfrom litellm.integrations.prometheus import PrometheusLoggerfrom litellm.integrations.s3_v2 import S3Logger@@ -95,6 +96,7 @@ class CustomLoggerRegistry:"agentops": AgentOps,"deepeval": DeepEvalLogger,"s3_v2": S3Logger,+ "pointfive": PointFiveLogger,"aws_sqs": SQSLogger,"dynamic_rate_limiter": _PROXY_DynamicRateLimitHandler,"dynamic_rate_limiter_v3": _PROXY_DynamicRateLimitHandlerV3,diff --git a/litellm/litellm_core_utils/litellm_logging.py b/litellm/litellm_core_utils/litellm_logging.pyindex de45414dbf3..cb9209be267 100644--- a/litellm/litellm_core_utils/litellm_logging.py+++ b/litellm/litellm_core_utils/litellm_logging.py@@ -182,6 +182,7 @@ from ..integrations.lunary import LunaryLoggerfrom ..integrations.newrelic import NewRelicLoggerfrom ..integrations.openmeter import OpenMeterLoggerfrom ..integrations.opik.opik import OpikLogger+from ..integrations.pointfive import PointFiveLoggerfrom ..integrations.posthog import PostHogLoggerfrom ..integrations.prompt_layer import PromptLayerLoggerfrom ..integrations.s3 import S3Logger@@ -4376,6 +4377,14 @@ def _init_custom_logger_compatible_class(_s3_v2_logger: Final = S3V2Logger()_in_memory_loggers.append(_s3_v2_logger)return _s3_v2_logger+ elif logging_integration == "pointfive":+ for callback in _in_memory_loggers:+ if isinstance(callback, PointFiveLogger):+ return callback++ _pointfive_logger: Final = PointFiveLogger()+ _in_memory_loggers.append(_pointfive_logger)+ return _pointfive_loggerelif logging_integration == "aws_sqs":for callback in _in_memory_loggers:if isinstance(callback, SQSLogger):@@ -5064,6 +5073,10 @@ def get_custom_logger_compatible_class(for callback in _in_memory_loggers:if isinstance(callback, S3V2Logger):return callback+ elif logging_integration == "pointfive":+ for callback in _in_memory_loggers:+ if isinstance(callback, PointFiveLogger):+ return callbackelif logging_integration == "aws_sqs":for callback in _in_memory_loggers:if isinstance(callback, SQSLogger):