mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 23:34:34 +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
@@ -31,6 +31,8 @@ export type MessageGatewayOptions = {
|
||||
type MessageSendParams = {
|
||||
to: string;
|
||||
content: string;
|
||||
/** Active agent id for per-agent outbound media root scoping. */
|
||||
agentId?: string;
|
||||
channel?: string;
|
||||
mediaUrl?: string;
|
||||
mediaUrls?: string[];
|
||||
@@ -179,6 +181,7 @@ export async function sendMessage(params: MessageSendParams): Promise<MessageSen
|
||||
cfg,
|
||||
channel: outboundChannel,
|
||||
to: resolvedTarget.to,
|
||||
agentId: params.agentId,
|
||||
accountId: params.accountId,
|
||||
payloads: normalizedPayloads,
|
||||
replyToId: params.replyToId,
|
||||
|
||||
Reference in New Issue
Block a user