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
fix Tuple
Ishaan Jafferabd090f15139
diff --git a/litellm/integrations/opik/utils.py b/litellm/integrations/opik/utils.pyindex 8989a861cdc..b0ab5991c91 100644--- a/litellm/integrations/opik/utils.py+++ b/litellm/integrations/opik/utils.py@@ -1,7 +1,7 @@import configparserimport osimport time-from typing import Any, Dict, Final, List, Optional+from typing import Any, Dict, Final, List, Optional, TupleCONFIG_FILE_PATH_DEFAULT: Final[str] = "~/.opik.config"@@ -106,7 +106,7 @@ def _remove_nulls(x: Dict[str, Any]) -> Dict[str, Any]:def get_traces_and_spans_from_payload(payload: List[Dict[str, Any]]-) -> tuple[List[Dict[str, Any]], List[Dict[str, Any]]]:+) -> Tuple[List[Dict[str, Any]], List[Dict[str, Any]]]:"""Separate traces and spans from payload.