From c1170260b500be2a8104cac2c44d213e3fc87843 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Mon, 22 Jul 2024 15:27:33 -0700 Subject: [PATCH] processors(rtvi): use generic LLM and TTS names --- src/pipecat/processors/frameworks/rtvi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pipecat/processors/frameworks/rtvi.py b/src/pipecat/processors/frameworks/rtvi.py index 37142e2d3..f9e76fb6d 100644 --- a/src/pipecat/processors/frameworks/rtvi.py +++ b/src/pipecat/processors/frameworks/rtvi.py @@ -422,11 +422,12 @@ class RTVIProcessor(FrameProcessor): self._tma_out = LLMAssistantResponseAggregator(messages) self._llm = self._llm_cls( + name="LLM", base_url=self._llm_base_url, api_key=self._llm_api_key, model=model) - self._tts = self._tts_cls(api_key=self._tts_api_key, voice_id=voice) + self._tts = self._tts_cls(name="TTS", api_key=self._tts_api_key, voice_id=voice) # TODO-CB: Eventually we'll need to switch the context aggregators to use the # OpenAI context frames instead of message frames