mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 13:27:39 +00:00
fix: preserve inter-session input provenance (thanks @anbecker)
This commit is contained in:
@@ -260,6 +260,12 @@ export function createSessionsSendTool(opts?: {
|
||||
channel: INTERNAL_MESSAGE_CHANNEL,
|
||||
lane: AGENT_LANE_NESTED,
|
||||
extraSystemPrompt: agentMessageContext,
|
||||
inputProvenance: {
|
||||
kind: "inter_session",
|
||||
sourceSessionKey: opts?.agentSessionKey,
|
||||
sourceChannel: opts?.agentChannel,
|
||||
sourceTool: "sessions_send",
|
||||
},
|
||||
};
|
||||
const requesterSessionKey = opts?.agentSessionKey;
|
||||
const requesterChannel = opts?.agentChannel;
|
||||
|
||||
Reference in New Issue
Block a user