Merge cfa8f6a49f into 699784dbee
This commit is contained in:
commit
3497412e15
@ -276,6 +276,13 @@ export async function dispatchReplyFromConfig(params: {
|
|||||||
ctx,
|
ctx,
|
||||||
{
|
{
|
||||||
...params.replyOptions,
|
...params.replyOptions,
|
||||||
|
onToolResult: (payload: ReplyPayload) => {
|
||||||
|
if (shouldRouteToOriginating) {
|
||||||
|
void sendPayloadAsync(payload, undefined, false);
|
||||||
|
} else {
|
||||||
|
dispatcher.sendToolResult(payload);
|
||||||
|
}
|
||||||
|
},
|
||||||
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
Block a user