Merge pull request #15606 from BerriAI/litellm_fix_staging_branch

[Fix] CI/CD - Missing env key & Linter type error
This commit is contained in:
Alexsander Hamir 2025-10-16 11:51:49 -07:00 • committed by GitHub
commit 2ef3a76013
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -752,6 +752,7 @@ router_settings:
| SPEND_LOGS_URL | URL for retrieving spend logs
| SPEND_LOG_CLEANUP_BATCH_SIZE | Number of logs deleted per batch during cleanup. Default is 1000
| SSL_CERTIFICATE | Path to the SSL certificate file
| SSL_ECDH_CURVE | ECDH curve for SSL/TLS key exchange (e.g., 'X25519' to disable PQC).
| SSL_SECURITY_LEVEL | [BETA] Security level for SSL/TLS connections. E.g. `DEFAULT@SECLEVEL=1`
| SSL_VERIFY | Flag to enable or disable SSL certificate verification
| SSL_CERT_FILE | Path to the SSL certificate file for custom CA bundle

View file

@ -1,6 +1,6 @@
import json
import re
from typing import Any, Dict, List, Optional
from typing import Any, Collection, Dict, List, Optional
import orjson
from fastapi import Request, UploadFile, status
@ -149,7 +149,7 @@ def _safe_get_request_headers(request: Optional[Request]) -> dict:
def check_file_size_under_limit(
request_data: dict,
file: UploadFile,
router_model_names: List[str],
router_model_names: Collection[str],
) -> bool:
"""
Check if any files passed in request are under max_file_size_mb