mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-16 03:31:10 +00:00
fix(test): use colon separator in subagent key regression test
This commit is contained in:
@@ -927,7 +927,7 @@ describe("runHeartbeatOnce", () => {
|
||||
};
|
||||
const mainSessionKey = resolveMainSessionKey(cfg);
|
||||
const agentId = resolveAgentIdFromSessionKey(mainSessionKey);
|
||||
const subagentKey = `agent:${agentId}/subagent:task-abc`;
|
||||
const subagentKey = `agent:${agentId}:subagent:task-abc`;
|
||||
|
||||
if (injectVia === "config" && cfg.agents?.defaults?.heartbeat) {
|
||||
cfg.agents.defaults.heartbeat.session = subagentKey;
|
||||
|
||||
Reference in New Issue
Block a user