feat: Add DeepSeek API key and fix MCP environment variable parsing
This commit is contained in:
parent
2173c82bb5
commit
8680182921
|
@ -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
|
||||
|
||||
|
@ -70,5 +75,6 @@ ANTHROPIC_API_VERSION=
|
|||
### anthropic claude Api url (optional)
|
||||
ANTHROPIC_URL=
|
||||
|
||||
|
||||
### (optional)
|
||||
WHITE_WEBDAV_ENDPOINTS=
|
|
@ -255,6 +255,6 @@ export const getServerSideConfig = () => {
|
|||
defaultModel,
|
||||
visionModels,
|
||||
allowedWebDavEndpoints,
|
||||
enableMcp: !!process.env.ENABLE_MCP,
|
||||
enableMcp: process.env.ENABLE_MCP === "true",
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue