fix: `onToolResult` fallback is not expected.
parent
c448e5da6f
commit
8abce8a84d
|
|
@ -316,16 +316,7 @@ export async function dispatchReplyFromConfig(params: {
|
||||||
};
|
};
|
||||||
return run();
|
return run();
|
||||||
}
|
}
|
||||||
: (payload: ReplyPayload) => {
|
: undefined,
|
||||||
const run = async () => {
|
|
||||||
if (shouldRouteToOriginating) {
|
|
||||||
await sendPayloadAsync(payload, undefined, false);
|
|
||||||
} else {
|
|
||||||
dispatcher.sendBlockReply(payload);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
return run();
|
|
||||||
},
|
|
||||||
onBlockReply: (payload: ReplyPayload, context) => {
|
onBlockReply: (payload: ReplyPayload, context) => {
|
||||||
const run = async () => {
|
const run = async () => {
|
||||||
// Accumulate block text for TTS generation after streaming
|
// Accumulate block text for TTS generation after streaming
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue