Merge 45f65a478b into 4583f88626
This commit is contained in:
commit
037ee5452a
@ -323,6 +323,16 @@ export async function dispatchReplyFromConfig(params: {
|
||||
};
|
||||
return run();
|
||||
},
|
||||
onToolResult: (payload: ReplyPayload) => {
|
||||
const run = async () => {
|
||||
if (shouldRouteToOriginating) {
|
||||
await sendPayloadAsync(payload, undefined, false);
|
||||
} else {
|
||||
dispatcher.sendBlockReply(payload);
|
||||
}
|
||||
};
|
||||
return run();
|
||||
},
|
||||
},
|
||||
cfg,
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user