Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/memos-local-plugin/server/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ async function dispatch(
let pathname = url.pathname;

const selfAgent = options.agent ?? null;
const AGENT_NAMES = ["openclaw", "hermes"] as const;
const AGENT_NAMES = ["openclaw", "hermes", "memos"] as const;

// ── Multi-agent path routing ────────────────────────────────────────
// The first agent to bind the port acts as the hub. Subsequent
Expand Down
2 changes: 1 addition & 1 deletion apps/memos-local-plugin/web/src/api/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const AGENT_PREFIX: string = detectAgentPrefix();
function detectAgentPrefix(): string {
if (typeof location === "undefined") return "";
const seg = location.pathname.split("/").filter(Boolean)[0];
return seg === "openclaw" || seg === "hermes" ? `/${seg}` : "";
return seg === "openclaw" || seg === "hermes" || seg === "memos" ? `/${seg}` : "";
}

/**
Expand Down
Loading