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: use Union syntax for Python 3.9 compatibility (#17714)
Cesar Garciaa2f51749416b
diff --git a/litellm/llms/sap/embed/transformation.py b/litellm/llms/sap/embed/transformation.pyindex 0801a265f70..6a641626a0b 100644--- a/litellm/llms/sap/embed/transformation.py+++ b/litellm/llms/sap/embed/transformation.py@@ -2,6 +2,8 @@Translates from OpenAI's `/v1/embeddings` to IBM's `/text/embeddings` route."""+from typing import Optional, List, Dict, Literal, Union+from pydantic import BaseModel, Fieldfrom functools import cached_propertyfrom typing import Dict, List, Literal, Optional, Union