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_arize_dynamic_params
Ishaan Jaff869087348879
diff --git a/tests/logging_callback_tests/test_arize_logging.py b/tests/logging_callback_tests/test_arize_logging.pyindex e1b9fdc131b..aca3ae9a029 100644--- a/tests/logging_callback_tests/test_arize_logging.py+++ b/tests/logging_callback_tests/test_arize_logging.py@@ -11,6 +11,7 @@ sys.path.insert() # Adds the parent directory to the system-pathfrom litellm.integrations._types.open_inference import SpanAttributesfrom litellm.integrations.arize.arize import ArizeConfig, ArizeLogger+from litellm.integrations.custom_logger import CustomLoggerfrom litellm.main import completionimport litellmfrom litellm.types.utils import Choices, StandardCallbackDynamicParams@@ -70,7 +71,7 @@ def test_arize_set_attributes():span.set_attribute.assert_any_call(SpanAttributes.LLM_TOKEN_COUNT_PROMPT, 40)-class TestArizeLogger(ArizeLogger):+class TestArizeLogger(CustomLogger):def __init__(self, *args, **kwargs):super().__init__(*args, **kwargs)self.standard_callback_dynamic_params: Optional[