Skip to content

Agent Zero AI framework

Update knowledge path API endpoint to use plugin-specific route

frdela60842578de1
diff --git a/webui/components/chat/input/input-store.js b/webui/components/chat/input/input-store.js
index 2e9e1f72a..25bad7eb9 100644
--- a/webui/components/chat/input/input-store.js
+++ b/webui/components/chat/input/input-store.js
@@ -101,7 +101,7 @@ const model = {
async loadKnowledge() {
try {
- const resp = await shortcuts.callJsonApi("/knowledge_path_get", {
+ const resp = await shortcuts.callJsonApi("/plugins/_memory/knowledge_path_get", {
ctxid: shortcuts.getCurrentContextId(),
});
if (!resp.ok) throw new Error("Error getting knowledge path");