Text drawer use generated opener

This commit is contained in:
Xin Wang
2026-02-12 14:40:22 +08:00
parent a17ef6f182
commit ef13ddb6b2
2 changed files with 14 additions and 6 deletions

View File

@@ -540,6 +540,14 @@ class DuplexPipeline:
greeting_to_speak = generated_greeting
self.conversation.greeting = generated_greeting
if greeting_to_speak:
await self._send_event(
ev(
"assistant.response.final",
text=greeting_to_speak,
trackId=self.session_id,
),
priority=20,
)
await self._speak(greeting_to_speak)
except Exception as e: