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
Add utils module docstring
oss-agent-shinb631863b13ab
diff --git a/litellm/utils.py b/litellm/utils.pyindex 019fbc2add8..5589852ce41 100644--- a/litellm/utils.py+++ b/litellm/utils.py@@ -1,3 +1,5 @@+"""Utility helpers for LiteLLM core request handling and provider support."""+# from __future__ import annotations must be the first non-comment statementfrom __future__ import annotationsdiff --git a/tests/test_litellm/test_utils_module_docstring.py b/tests/test_litellm/test_utils_module_docstring.pynew file mode 100644index 00000000000..ac99fb63fd4--- /dev/null+++ b/tests/test_litellm/test_utils_module_docstring.py@@ -0,0 +1,11 @@+import ast+from pathlib import Path+++def test_utils_module_has_docstring():+ utils_path = Path(__file__).parents[2] / "litellm" / "utils.py"+ module = ast.parse(utils_path.read_text())++ assert ast.get_docstring(module) == (+ "Utility helpers for LiteLLM core request handling and provider support."+ )