Skip to content

Commit

Permalink
feat: Add DeepSeek API key and fix MCP environment variable parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Leizhenpeng committed Jan 27, 2025
1 parent 2173c82 commit 8680182
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@


# Your openai api key. (required)
OPENAI_API_KEY=sk-xxxx

# DeepSeek Api Key. (Optional)
DEEPSEEK_API_KEY=

# Access password, separated by comma. (optional)
CODE=your-password

Expand Down Expand Up @@ -70,5 +75,6 @@ ANTHROPIC_API_VERSION=
### anthropic claude Api url (optional)
ANTHROPIC_URL=


### (optional)
WHITE_WEBDAV_ENDPOINTS=
2 changes: 1 addition & 1 deletion app/config/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,6 @@ export const getServerSideConfig = () => {
defaultModel,
visionModels,
allowedWebDavEndpoints,
enableMcp: !!process.env.ENABLE_MCP,
enableMcp: process.env.ENABLE_MCP === "true",
};
};

0 comments on commit 8680182

Please sign in to comment.