Fix: Revert Doubao 1.6 mapping to shared list and remove hardcoded corner cases
This commit is contained in:
+1
-6
@@ -85,7 +85,6 @@ SUFFIXES_TO_REMOVE = [
|
||||
"资源包",
|
||||
"_free_infer_res_pack",
|
||||
"_pack_free_infer",
|
||||
"_thinking_free_infer_res_pack",
|
||||
"_free_inference_resource_pack",
|
||||
"free_inference_resource_pack",
|
||||
"_infer_res_pack",
|
||||
@@ -95,8 +94,7 @@ SUFFIXES_TO_REMOVE = [
|
||||
# Volcengine Name -> LiteLLM Model Name Map
|
||||
# Key is the normalized (lowercase, hyphens) name from Volcengine API
|
||||
VOLC_MODEL_MAP = {
|
||||
"doubao-seed-1-6": "doubao-seed-1-6-250615",
|
||||
"doubao-seed-1-6-thinking": "doubao-seed-1-6-251015",
|
||||
"doubao-seed-1-6": ["doubao-seed-1-6-250615", "doubao-seed-1-6-251015"],
|
||||
"doubao-seed-1-8": "doubao-seed-1-8-251228",
|
||||
"doubao-seed-code": "doubao-seed-code-preview-251028",
|
||||
"doubao-seed-translation": "doubao-seed-translation-250915",
|
||||
@@ -106,9 +104,6 @@ VOLC_MODEL_MAP = {
|
||||
"deepseek-r1": "deepseek-r1-250528",
|
||||
"kimi-k2": "kimi-k2-thinking-251104",
|
||||
"glm-4-7": "glm-4-7-251222",
|
||||
# Specific mappings for corner cases if suffixes don't catch everything
|
||||
"doubao-seed-1-8-pack-data-collaboration": "doubao-seed-1-8-251228",
|
||||
"glm-4-7-pack-data-collaboration": "glm-4-7-251222",
|
||||
}
|
||||
|
||||
# Static Quotas (Fallback/Strict Limits)
|
||||
|
||||
Reference in New Issue
Block a user