mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix set default value for max_file_size_mb
This commit is contained in:
parent
5651a66b88
commit
b954ffe9bf
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ def check_file_size_under_limit(
|
|||
|
||||
file_contents_size = file.size or 0
|
||||
file_content_size_in_mb = file_contents_size / (1024 * 1024)
|
||||
max_file_size_mb = None
|
||||
|
||||
if llm_router is not None and request_data["model"] in router_model_names:
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue