mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-19 20:20:16 +09:00
Merge pull request #6001 from bestsanmao/add_deepseek
docs: add DEEPSEEK_API_KEY and DEEPSEEK_URL in README
This commit is contained in:
commit
d56566cd73
@ -312,6 +312,14 @@ ChatGLM Api Key.
|
|||||||
|
|
||||||
ChatGLM Api Url.
|
ChatGLM Api Url.
|
||||||
|
|
||||||
|
### `DEEPSEEK_API_KEY` (optional)
|
||||||
|
|
||||||
|
DeepSeek Api Key.
|
||||||
|
|
||||||
|
### `DEEPSEEK_URL` (optional)
|
||||||
|
|
||||||
|
DeepSeek Api Url.
|
||||||
|
|
||||||
### `HIDE_USER_API_KEY` (optional)
|
### `HIDE_USER_API_KEY` (optional)
|
||||||
|
|
||||||
> Default: Empty
|
> Default: Empty
|
||||||
|
@ -192,6 +192,14 @@ ChatGLM Api Key.
|
|||||||
|
|
||||||
ChatGLM Api Url.
|
ChatGLM Api Url.
|
||||||
|
|
||||||
|
### `DEEPSEEK_API_KEY` (可选)
|
||||||
|
|
||||||
|
DeepSeek Api Key.
|
||||||
|
|
||||||
|
### `DEEPSEEK_URL` (可选)
|
||||||
|
|
||||||
|
DeepSeek Api Url.
|
||||||
|
|
||||||
|
|
||||||
### `HIDE_USER_API_KEY` (可选)
|
### `HIDE_USER_API_KEY` (可选)
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ export class DeepSeekApi implements LLMApi {
|
|||||||
let baseUrl = "";
|
let baseUrl = "";
|
||||||
|
|
||||||
if (accessStore.useCustomConfig) {
|
if (accessStore.useCustomConfig) {
|
||||||
baseUrl = accessStore.moonshotUrl;
|
baseUrl = accessStore.deepseekUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (baseUrl.length === 0) {
|
if (baseUrl.length === 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user