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: clarify purpose field docstring in AnthropicFilesConfig
Chesarsabe0c40c1aab
diff --git a/litellm/llms/anthropic/files/transformation.py b/litellm/llms/anthropic/files/transformation.pyindex d8edd51488b..cf157a90f86 100644--- a/litellm/llms/anthropic/files/transformation.py+++ b/litellm/llms/anthropic/files/transformation.py@@ -132,7 +132,7 @@ class AnthropicFilesConfig(BaseFilesConfig):Anthropic expects: POST /v1/files with multipart form-data- file: the file content- - purpose: "messages" (required)+ - purpose: "messages" (defaults to "messages" if not provided)"""file_data = create_file_data.get("file")if file_data is None: