diff --git a/.env.template b/.env.template index c0cd80c65..fd2f68df0 100644 --- a/.env.template +++ b/.env.template @@ -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= \ No newline at end of file diff --git a/app/config/server.ts b/app/config/server.ts index 6792a8330..1166805b5 100644 --- a/app/config/server.ts +++ b/app/config/server.ts @@ -255,6 +255,6 @@ export const getServerSideConfig = () => { defaultModel, visionModels, allowedWebDavEndpoints, - enableMcp: !!process.env.ENABLE_MCP, + enableMcp: process.env.ENABLE_MCP === "true", }; };