删除失效的gemini
This commit is contained in:
+4
-19
@@ -5,22 +5,7 @@ x-definitions: &token_pricing
|
|||||||
|
|
||||||
model_list:
|
model_list:
|
||||||
|
|
||||||
# 保底
|
|
||||||
- model_name: gemini-2.5-pro
|
|
||||||
litellm_params:
|
|
||||||
<<: *token_pricing
|
|
||||||
model: gemini/gemini-2.5-pro
|
|
||||||
api_base: os.environ/GCLI2API_cli_openai
|
|
||||||
api_key: os.environ/GCLI2API_API_KEY
|
|
||||||
rpm: 15
|
|
||||||
|
|
||||||
- model_name: gemini-2.5-flash
|
|
||||||
litellm_params:
|
|
||||||
<<: *token_pricing
|
|
||||||
model: openai/gemini-2.5-flash
|
|
||||||
api_base: os.environ/GCLI2API_cli_openai
|
|
||||||
api_key: os.environ/GCLI2API_API_KEY
|
|
||||||
rpm: 20
|
|
||||||
|
|
||||||
#=======================火山平台,限时免费
|
#=======================火山平台,限时免费
|
||||||
|
|
||||||
@@ -323,10 +308,10 @@ model_list:
|
|||||||
|
|
||||||
litellm_settings:
|
litellm_settings:
|
||||||
num_retries: 3 # retry call 3 times on each model_name (e.g. zephyr-beta)
|
num_retries: 3 # retry call 3 times on each model_name (e.g. zephyr-beta)
|
||||||
fallbacks: [
|
# fallbacks: [
|
||||||
{"gemini-2.5-flash": ["gemini-2.5-pro"]}
|
# {"gemini-2.5-flash": ["gemini-2.5-pro"]}
|
||||||
]
|
# ]
|
||||||
default_fallbacks: ["gemini-2.5-flash"]
|
# default_fallbacks: ["gemini-2.5-flash"]
|
||||||
request_timeout: 120 # raise Timeout error if call takes longer than 10s. Sets litellm.request_timeout
|
request_timeout: 120 # raise Timeout error if call takes longer than 10s. Sets litellm.request_timeout
|
||||||
cache: False # 开启缓存
|
cache: False # 开启缓存
|
||||||
# cache_params:
|
# cache_params:
|
||||||
|
|||||||
Reference in New Issue
Block a user