Merge pull request #6001 from bestsanmao/add_deepseek

docs: add DEEPSEEK_API_KEY and DEEPSEEK_URL in README
This commit is contained in:
Dogtiti 2024-12-30 09:42:22 +08:00 committed by GitHub
commit d56566cd73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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) {