mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
fix: clarify purpose field docstring in AnthropicFilesConfig
This commit is contained in:
parent
093cca9f57
commit
abe0c40c1a
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue