fix(pi): preserve audio_as_voice tag
- Allow flag-only chunks so audio_as_voice propagates - Keep reply item scan aware of empty audio tag blocks Co-authored-by: Manuel Hettich <17690367+ManuelHettich@users.noreply.github.com>
This commit is contained in:
committed by
Peter Steinberger
parent
9a7f050568
commit
8c7d1781bc
@@ -1695,7 +1695,6 @@ export async function runEmbeddedPiAgent(params: {
|
||||
const hasAudioAsVoiceTag = replyItems.some(
|
||||
(item) => item.audioAsVoice,
|
||||
);
|
||||
|
||||
const payloads = replyItems
|
||||
.map((item) => ({
|
||||
text: item.text?.trim() ? item.text.trim() : undefined,
|
||||
|
||||
Reference in New Issue
Block a user