Skip to content

Commit

Permalink
fix error from max file size
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaan-jaff committed Jul 16, 2024
1 parent 6852535 commit 38cef1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litellm/proxy/common_utils/http_parsing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 38cef1c

Please sign in to comment.