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
remove potential recursive function
KnyazShb334ebf35ea3
diff --git a/litellm/llms/gigachat/passthrough/transformation.py b/litellm/llms/gigachat/passthrough/transformation.pyindex 0d3e440f253..43669355f2b 100644--- a/litellm/llms/gigachat/passthrough/transformation.py+++ b/litellm/llms/gigachat/passthrough/transformation.py@@ -6,7 +6,7 @@ import httpxfrom litellm.llms.base_llm.passthrough.transformation import BasePassthroughConfigfrom litellm.llms.gigachat.authenticator import get_access_tokenfrom litellm.llms.gigachat.chat.streaming import GigaChatModelResponseIterator-from litellm.llms.gigachat.utils import get_api_base+from litellm.llms.gigachat.utils import GIGACHAT_BASE_URLfrom litellm.secret_managers.main import get_secret_strfrom litellm.types.llms.openai import AllMessageValuesfrom litellm.types.utils import EmbeddingResponse@@ -204,7 +204,7 @@ class GigaChatPassthroughConfig(BasePassthroughConfig):@staticmethoddef get_api_base(api_base: Optional[str] = None) -> Optional[str]:- return get_api_base(api_base)+ return api_base or get_secret_str("GIGACHAT_API_BASE") or GIGACHAT_BASE_URL@staticmethoddef get_api_key(