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(lint): Fix B008 for gigachat api route
KnyazSh0972e593c068
diff --git a/litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py b/litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.pyindex a2ac8bef5bc..c20fd733037 100644--- a/litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py+++ b/litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py@@ -11,7 +11,7 @@ from __future__ import annotationsimport jsonimport osimport re-from typing import TYPE_CHECKING, Any, Callable, cast+from typing import TYPE_CHECKING, Annotated, Any, Callable, castimport httpxfrom fastapi import APIRouter, Depends, HTTPException, Request, Response, WebSocket@@ -2309,7 +2309,7 @@ async def gigachat_proxy_route(endpoint: str,request: Request,fastapi_response: Response,- user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth),+ user_api_key_dict: Annotated[UserAPIKeyAuth, Depends(user_api_key_auth)],):"""[Docs](https://docs.litellm.ai/docs/pass_through/gigachat)diff --git a/ruff-strict-budget.json b/ruff-strict-budget.jsonindex c23f954f81b..d3d70ff5ff4 100644--- a/ruff-strict-budget.json+++ b/ruff-strict-budget.json@@ -36,7 +36,7 @@"limit": 190},"B008": {- "limit": 506+ "limit": 505},"B009": {"limit": 84