diff --git a/README.md b/README.md index 5b09d29ae42..dda896cbfdf 100644 --- a/README.md +++ b/README.md @@ -312,6 +312,14 @@ ChatGLM Api Key. ChatGLM Api Url. +### `DEEPSEEK_API_KEY` (optional) + +DeepSeek Api Key. + +### `DEEPSEEK_URL` (optional) + +DeepSeek Api Url. + ### `HIDE_USER_API_KEY` (optional) > Default: Empty diff --git a/README_CN.md b/README_CN.md index 8173b9c4d1c..aa95d6b5cd5 100644 --- a/README_CN.md +++ b/README_CN.md @@ -192,6 +192,14 @@ ChatGLM Api Key. ChatGLM Api Url. +### `DEEPSEEK_API_KEY` (可选) + +DeepSeek Api Key. + +### `DEEPSEEK_URL` (可选) + +DeepSeek Api Url. + ### `HIDE_USER_API_KEY` (可选) diff --git a/app/client/platforms/deepseek.ts b/app/client/platforms/deepseek.ts index 28f15a43579..e2ae645c67c 100644 --- a/app/client/platforms/deepseek.ts +++ b/app/client/platforms/deepseek.ts @@ -35,7 +35,7 @@ export class DeepSeekApi implements LLMApi { let baseUrl = ""; if (accessStore.useCustomConfig) { - baseUrl = accessStore.moonshotUrl; + baseUrl = accessStore.deepseekUrl; } if (baseUrl.length === 0) {