Skip to content

Commit

Permalink
Merge pull request #6001 from bestsanmao/add_deepseek
Browse files Browse the repository at this point in the history
docs: add DEEPSEEK_API_KEY and DEEPSEEK_URL in README
  • Loading branch information
Dogtiti authored Dec 30, 2024
2 parents f9e9129 + b5d104c commit d56566c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` (可选)

Expand Down
2 changes: 1 addition & 1 deletion app/client/platforms/deepseek.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class DeepSeekApi implements LLMApi {
let baseUrl = "";

if (accessStore.useCustomConfig) {
baseUrl = accessStore.moonshotUrl;
baseUrl = accessStore.deepseekUrl;
}

if (baseUrl.length === 0) {
Expand Down

0 comments on commit d56566c

Please sign in to comment.