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
get_complete_url
Ishaan Jaff24b8dcff1fe6
diff --git a/litellm/llms/triton/completion/transformation.py b/litellm/llms/triton/completion/transformation.pyindex 0a65e216dfe..4037c32365e 100644--- a/litellm/llms/triton/completion/transformation.py+++ b/litellm/llms/triton/completion/transformation.py@@ -69,11 +69,13 @@ class TritonConfig(BaseConfig):def get_complete_url(self,- api_base: str,+ api_base: Optional[str],model: str,optional_params: dict,stream: Optional[bool] = None,) -> str:+ if api_base is None:+ raise ValueError("api_base is required")llm_type = self._get_triton_llm_type(api_base)if llm_type == "generate" and stream:return api_base + "_stream"