Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: Remove duplicate `--port` arg when booting kernel

Danield2eda0fb3ae4
diff --git a/app/electron/main.js b/app/electron/main.js
index 7f79158cc8..05b4a68497 100644
--- a/app/electron/main.js
+++ b/app/electron/main.js
@@ -729,9 +729,6 @@ const initKernel = (workspace, port, lang, safeMode) => {
if (workspace && "" !== workspace) {
cmds.push("--workspace", workspace);
}
- if (port && "" !== port) {
- cmds.push("--port", port);
- }
if (lang && "" !== lang) {
cmds.push("--lang", lang);
}