mirror of
https://github.com/moltbot/moltbot.git
synced 2026-03-09 15:35:17 +00:00
fix: onToolResult fallback is not expected.
This commit is contained in:
@@ -316,16 +316,7 @@ export async function dispatchReplyFromConfig(params: {
|
||||
};
|
||||
return run();
|
||||
}
|
||||
: (payload: ReplyPayload) => {
|
||||
const run = async () => {
|
||||
if (shouldRouteToOriginating) {
|
||||
await sendPayloadAsync(payload, undefined, false);
|
||||
} else {
|
||||
dispatcher.sendBlockReply(payload);
|
||||
}
|
||||
};
|
||||
return run();
|
||||
},
|
||||
: undefined,
|
||||
onBlockReply: (payload: ReplyPayload, context) => {
|
||||
const run = async () => {
|
||||
// Accumulate block text for TTS generation after streaming
|
||||
|
||||
Reference in New Issue
Block a user