config增加多级fallback
This commit is contained in:
@@ -331,6 +331,9 @@ model_list:
|
||||
|
||||
litellm_settings:
|
||||
num_retries: 3 # retry call 3 times on each model_name (e.g. zephyr-beta)
|
||||
fallbacks: [
|
||||
{"gemini-2.5-pro": ["gemini-2.5-flash"]}
|
||||
]
|
||||
default_fallbacks: ["gemini-2.5-pro"]
|
||||
request_timeout: 120 # raise Timeout error if call takes longer than 10s. Sets litellm.request_timeout
|
||||
cache: False # 开启缓存
|
||||
|
||||
Reference in New Issue
Block a user