Skip to content

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

:rotating_light:

Vanessa0e357f7311e6
diff --git a/app/src/history/history.ts b/app/src/history/history.ts
index 71f07d3316..21e4f3ecc0 100644
--- a/app/src/history/history.ts
+++ b/app/src/history/history.ts
@@ -459,6 +459,7 @@ export const openHistory = (app: App) => {
}
});
dialog.element.setAttribute("data-key", Constants.DIALOG_HISTORY);
+ dialog.element.querySelector("input").focus();
bindEvent(app, dialog.element, dialog);
resizeSide(dialog.element.querySelector(".history__resize"), dialog.element.querySelector(".history__side"), "sideWidth");
}