Skip to content

Commit 78186c2

Browse files
authored
Merge pull request #6168 from xiexin12138/fix-env
Fix: 补充 env 中硅基流动的环境变量;追加硅基流动 2 个支持的付费模型
2 parents add9ca2 + a780b39 commit 78186c2

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.env.template

+6-1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ ANTHROPIC_API_VERSION=
7373
### anthropic claude Api url (optional)
7474
ANTHROPIC_URL=
7575

76-
7776
### (optional)
7877
WHITE_WEBDAV_ENDPOINTS=
78+
79+
### siliconflow Api key (optional)
80+
SILICONFLOW_API_KEY=
81+
82+
### siliconflow Api url (optional)
83+
SILICONFLOW_URL=

app/constant.ts

+2
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,8 @@ const siliconflowModels = [
620620
"deepseek-ai/DeepSeek-V3",
621621
"meta-llama/Llama-3.3-70B-Instruct",
622622
"THUDM/glm-4-9b-chat",
623+
"Pro/deepseek-ai/DeepSeek-R1",
624+
"Pro/deepseek-ai/DeepSeek-V3",
623625
];
624626

625627
let seq = 1000; // 内置的模型序号生成器从1000开始

0 commit comments

Comments
 (0)