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): list pointfive in the proxy callback registry
Yinon Kahtacb150846c276
diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.pyindex c22bb76629d..f496140e905 100644--- a/litellm/proxy/_types.py+++ b/litellm/proxy/_types.py@@ -3726,6 +3726,15 @@ class AllCallbacks(LiteLLMPydanticObjectBase):],)+ pointfive: CallbackOnUI = CallbackOnUI(+ litellm_callback_name="pointfive",+ ui_callback_name="PointFive",+ litellm_callback_params=[ # mutable-ok: the registry field is typed list+ "POINTFIVE_API_KEY",+ "POINTFIVE_API_URL",+ ],+ )+class SpendLogsRouterMetadata(TypedDict):"""diff --git a/tests/test_litellm/proxy/test_pointfive_ui_callback.py b/tests/test_litellm/proxy/test_pointfive_ui_callback.pynew file mode 100644index 00000000000..13591d92005--- /dev/null+++ b/tests/test_litellm/proxy/test_pointfive_ui_callback.py@@ -0,0 +1,15 @@+from litellm.integrations.custom_logger import CustomLogger+from litellm.proxy._types import AllCallbacks+++def test_pointfive_is_offered_in_the_ui_callback_registry():+ """The proxy ui builds its form from this registry, so an absent entry is an absent form."""+ entry = AllCallbacks().pointfive++ assert entry.litellm_callback_name == "pointfive"+ assert entry.ui_callback_name == "PointFive"+++def test_the_ui_offers_the_two_settings_the_plugin_reads():+ """get_callback_env_vars is what the ui renders; it must match what the logger looks up."""+ assert tuple(CustomLogger.get_callback_env_vars("pointfive")) == ("POINTFIVE_API_KEY", "POINTFIVE_API_URL")