Merge 087abb4d5f671c1d53746c9caee30be8251f5e86 into 5e417b44e1540f528d2ae63e3e20229a902d1db2
This commit is contained in:
commit
815ad0eab1
@ -686,6 +686,11 @@ export const agentHandlers: GatewayRequestHandlers = {
|
||||
groupChannel: resolvedGroupChannel,
|
||||
groupSpace: resolvedGroupSpace,
|
||||
currentThreadTs: resolvedThreadId != null ? String(resolvedThreadId) : undefined,
|
||||
// Expose resolvedTo as currentChannelId so the message tool's target
|
||||
// inference (no explicit `to`) routes to the correct thread/channel.
|
||||
// This allows sub-agents to send messages to the originating thread
|
||||
// without needing an explicit target parameter.
|
||||
currentChannelId: resolvedTo || undefined,
|
||||
},
|
||||
groupId: resolvedGroupId,
|
||||
groupChannel: resolvedGroupChannel,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user