Skip to content

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]

style(proxy): apply ruff format to gateway endpoints

mateo1c445f36166e
diff --git a/litellm/proxy/anthropic_endpoints/gateway_endpoints.py b/litellm/proxy/anthropic_endpoints/gateway_endpoints.py
index d0861cccf9a..e0c35117bf6 100644
--- a/litellm/proxy/anthropic_endpoints/gateway_endpoints.py
+++ b/litellm/proxy/anthropic_endpoints/gateway_endpoints.py
@@ -248,7 +248,9 @@ async def oauth_token(request: Request) -> JSONResponse:
)
return _oauth_error_response(
- _oauth_error(status_code=400, error="unsupported_grant_type", description=f"Unsupported grant_type: {grant_type}")
+ _oauth_error(
+ status_code=400, error="unsupported_grant_type", description=f"Unsupported grant_type: {grant_type}"
+ )
)