mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 01:30:21 +00:00
refactor: rename to openclaw
This commit is contained in:
@@ -9,7 +9,7 @@ const baseConfig = {
|
||||
groups: { "*": { requireMention: true } },
|
||||
},
|
||||
},
|
||||
session: { store: "/tmp/moltbot-sessions.json" },
|
||||
session: { store: "/tmp/openclaw-sessions.json" },
|
||||
} as const;
|
||||
|
||||
describe("applyGroupGating", () => {
|
||||
|
||||
@@ -6,7 +6,7 @@ describe("buildInboundLine", () => {
|
||||
it("prefixes group messages with sender", () => {
|
||||
const line = buildInboundLine({
|
||||
cfg: {
|
||||
agents: { defaults: { workspace: "/tmp/clawd" } },
|
||||
agents: { defaults: { workspace: "/tmp/openclaw" } },
|
||||
channels: { whatsapp: { messagePrefix: "" } },
|
||||
} as never,
|
||||
agentId: "main",
|
||||
|
||||
@@ -252,7 +252,7 @@ export async function processMessage(params: {
|
||||
const responsePrefix =
|
||||
prefixContext.responsePrefix ??
|
||||
(configuredResponsePrefix === undefined && isSelfChat
|
||||
? (resolveIdentityNamePrefix(params.cfg, params.route.agentId) ?? "[moltbot]")
|
||||
? (resolveIdentityNamePrefix(params.cfg, params.route.agentId) ?? "[openclaw]")
|
||||
: undefined);
|
||||
|
||||
const ctxPayload = finalizeInboundContext({
|
||||
|
||||
Reference in New Issue
Block a user