mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
init MIN_MODEL_COST_MAP_ENTRIES
This commit is contained in:
parent
dfc4a1b412
commit
4fb92ddc2b
1 changed files with 4 additions and 0 deletions
|
|
@ -174,6 +174,10 @@ DEFAULT_SSL_CIPHERS = os.getenv(
|
|||
"AES128-GCM-SHA256", # Last resort (maximum compatibility)
|
||||
)
|
||||
|
||||
#### Model Cost Map Validation ####
|
||||
# The real map has ~2500+ entries. This catches corrupted/truncated/empty responses.
|
||||
MIN_MODEL_COST_MAP_ENTRIES = 100
|
||||
|
||||
########### v2 Architecture constants for managing writing updates to the database ###########
|
||||
REDIS_UPDATE_BUFFER_KEY = "litellm_spend_update_buffer"
|
||||
REDIS_DAILY_SPEND_UPDATE_BUFFER_KEY = "litellm_daily_spend_update_buffer"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue