增加模型
This commit is contained in:
+19
-2
@@ -22,7 +22,12 @@ model_list:
|
|||||||
api_base: os.environ/NEWAPI_BASE_URL
|
api_base: os.environ/NEWAPI_BASE_URL
|
||||||
api_key: os.environ/NEWAPI_API_KEY
|
api_key: os.environ/NEWAPI_API_KEY
|
||||||
|
|
||||||
|
- model_name: deepseek-v4-pro
|
||||||
|
litellm_params:
|
||||||
|
<<: *token_pricing
|
||||||
|
model: volcengine/deepseek-v4-flash
|
||||||
|
api_base: os.environ/NEWAPI_BASE_URL
|
||||||
|
api_key: os.environ/NEWAPI_API_KEY
|
||||||
|
|
||||||
|
|
||||||
#=======================火山平台,限时免费
|
#=======================火山平台,限时免费
|
||||||
@@ -278,6 +283,18 @@ model_list:
|
|||||||
|
|
||||||
#=======================豆包汇总思考等级low
|
#=======================豆包汇总思考等级low
|
||||||
|
|
||||||
|
- model_name: doubao-seed-1-8
|
||||||
|
litellm_params:
|
||||||
|
<<: *token_pricing
|
||||||
|
model: volcengine/doubao-seed-1-8-251228
|
||||||
|
api_base: os.environ/HUOSHAN_BASE_URL
|
||||||
|
api_key: os.environ/HUOSHAN_API_KEY
|
||||||
|
drop_params: true
|
||||||
|
extra_headers:
|
||||||
|
Connection: "close"
|
||||||
|
extra_body:
|
||||||
|
reasoning_effort: "high"
|
||||||
|
|
||||||
- model_name: doubao-seed-low
|
- model_name: doubao-seed-low
|
||||||
litellm_params:
|
litellm_params:
|
||||||
<<: *token_pricing
|
<<: *token_pricing
|
||||||
@@ -433,7 +450,7 @@ litellm_settings:
|
|||||||
#drop_params: true #启用drop_params,这样LiteLLM会忽略不支持的参数,但参数仍然会传递给后端API
|
#drop_params: true #启用drop_params,这样LiteLLM会忽略不支持的参数,但参数仍然会传递给后端API
|
||||||
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: [
|
||||||
{"glm-5.2": ["deepseek-v4-flash"]}
|
{"doubao-seed-high": ["deepseek-v4-pro"]}
|
||||||
]
|
]
|
||||||
default_fallbacks: ["deepseek-v4-flash"]
|
default_fallbacks: ["deepseek-v4-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
|
||||||
|
|||||||
Reference in New Issue
Block a user