Compare commits

...

4 Commits

Author SHA1 Message Date
Dogtiti
d56566cd73 Merge pull request #6001 from bestsanmao/add_deepseek
Some checks are pending
Run Tests / test (push) Waiting to run
docs: add DEEPSEEK_API_KEY and DEEPSEEK_URL in README
2024-12-30 09:42:22 +08:00
suruiqiang
b5d104c908 Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web into add_deepseek 2024-12-30 09:04:40 +08:00
suruiqiang
2a8a18391e docs: add DEEPSEEK_API_KEY and DEEPSEEK_URL in README 2024-12-29 15:31:50 +08:00
suruiqiang
b948d6bf86 bug fix 2024-12-29 11:24:57 +08:00
3 changed files with 17 additions and 1 deletions

View File

@@ -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

View File

@@ -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` (可选)

View File

@@ -35,7 +35,7 @@ export class DeepSeekApi implements LLMApi {
let baseUrl = "";
if (accessStore.useCustomConfig) {
baseUrl = accessStore.moonshotUrl;
baseUrl = accessStore.deepseekUrl;
}
if (baseUrl.length === 0) {