fix: honor accountId in message actions

This commit is contained in:
Peter Steinberger committed 2026-01-23 09:06:04 +00:00
1 parent c5546f0d5b
commit 13d1712850
14 files changed
+688 -136

No files matched your search

+3
View File
@@ -342,6 +342,9 @@ export function createMessageTool(options?: MessageToolOptions): AnyAgentTool {
}) as ChannelMessageActionName;
const accountId = readStringParam(params, "accountId") ?? agentAccountId;
if (accountId) {
params.accountId = accountId;
}
const gateway = {
url: readStringParam(params, "gatewayUrl", { trim: false }),