Merge branch 'main' into main

This commit is contained in:
glay
2025-01-22 14:28:55 +08:00
committed by GitHub
31 changed files with 2863 additions and 301 deletions

View File

@@ -92,6 +92,8 @@ declare global {
// custom template for preprocessing user input
DEFAULT_INPUT_TEMPLATE?: string;
ENABLE_MCP?: string; // enable mcp functionality
}
}
}
@@ -268,5 +270,6 @@ export const getServerSideConfig = () => {
defaultModel,
visionModels,
allowedWebDavEndpoints,
enableMcp: !!process.env.ENABLE_MCP,
};
};