mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 06:12:45 +00:00
Outbound: scope core send media roots by agent (#17268)
Merged with gates skipped by maintainer request.
Prepared head SHA: 663ac49b3a
This commit is contained in:
committed by
GitHub
parent
b4f16001aa
commit
9adcccadb1
@@ -23,6 +23,8 @@ export type OutboundSendContext = {
|
||||
cfg: OpenClawConfig;
|
||||
channel: ChannelId;
|
||||
params: Record<string, unknown>;
|
||||
/** Active agent id for per-agent outbound media root scoping. */
|
||||
agentId?: string;
|
||||
accountId?: string | null;
|
||||
gateway?: OutboundGatewayContext;
|
||||
toolContext?: ChannelThreadingToolContext;
|
||||
@@ -93,6 +95,7 @@ export async function executeSendAction(params: {
|
||||
cfg: params.ctx.cfg,
|
||||
to: params.to,
|
||||
content: params.message,
|
||||
agentId: params.ctx.agentId,
|
||||
mediaUrl: params.mediaUrl || undefined,
|
||||
mediaUrls: params.mediaUrls,
|
||||
channel: params.ctx.channel || undefined,
|
||||
|
||||
Reference in New Issue
Block a user