Skip to content

Commit d56566c

Browse files
authored
Merge pull request ChatGPTNextWeb#6001 from bestsanmao/add_deepseek
docs: add DEEPSEEK_API_KEY and DEEPSEEK_URL in README
2 parents f9e9129 + b5d104c commit d56566c

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,14 @@ ChatGLM Api Key.
312312

313313
ChatGLM Api Url.
314314

315+
### `DEEPSEEK_API_KEY` (optional)
316+
317+
DeepSeek Api Key.
318+
319+
### `DEEPSEEK_URL` (optional)
320+
321+
DeepSeek Api Url.
322+
315323
### `HIDE_USER_API_KEY` (optional)
316324

317325
> Default: Empty

README_CN.md

+8
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,14 @@ ChatGLM Api Key.
192192

193193
ChatGLM Api Url.
194194

195+
### `DEEPSEEK_API_KEY` (可选)
196+
197+
DeepSeek Api Key.
198+
199+
### `DEEPSEEK_URL` (可选)
200+
201+
DeepSeek Api Url.
202+
195203

196204
### `HIDE_USER_API_KEY` (可选)
197205

app/client/platforms/deepseek.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class DeepSeekApi implements LLMApi {
3535
let baseUrl = "";
3636

3737
if (accessStore.useCustomConfig) {
38-
baseUrl = accessStore.moonshotUrl;
38+
baseUrl = accessStore.deepseekUrl;
3939
}
4040

4141
if (baseUrl.length === 0) {

0 commit comments

Comments
 (0)