fix(channels): align command-body parsing sources

This commit is contained in:
Peter Steinberger
2026-03-01 23:11:20 +00:00
parent 4c43fccb3e
commit 8e48520d74
5 changed files with 16 additions and 6 deletions

View File

@@ -495,13 +495,15 @@ export function createMSTeamsMessageHandler(deps: MSTeamsMessageHandlerDeps) {
timestamp: entry.timestamp,
}))
: undefined;
const commandBody = text.trim();
const ctxPayload = core.channel.reply.finalizeInboundContext({
Body: combinedBody,
BodyForAgent: rawBody,
InboundHistory: inboundHistory,
RawBody: rawBody,
CommandBody: rawBody,
CommandBody: commandBody,
BodyForCommands: commandBody,
From: teamsFrom,
To: teamsTo,
SessionKey: route.sessionKey,