mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix error from max file size
This commit is contained in:
parent
685253568b
commit
38cef1c58d
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ def check_file_size_under_limit(
|
|||
)
|
||||
if file_content_size_in_mb > max_file_size_mb:
|
||||
raise ProxyException(
|
||||
message="File size is too large. Please check your file size",
|
||||
message=f"File size is too large. Please check your file size. Passed file size: {file_content_size_in_mb} MB. Max file size: {max_file_size_mb} MB",
|
||||
code=status.HTTP_400_BAD_REQUEST,
|
||||
type="bad_request",
|
||||
param="file",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue