TypeError: SynthesizeStream._run() takes 1 positio...
# ask-ai
s
TypeError: SynthesizeStream._run() takes 1 positional argument but 2 were given
t
Thanks for reaching out, Edson. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Could you provide more details about the context in which this error occurs? Specifically: • What version of the LiveKit SDK or library are you using? • What is the code or functionality you are trying to execute when this error appears? • Have you made any custom modifications to the
SynthesizeStream
class or its methods? This information will help in diagnosing the issue more effectively.
s
version 1.1.4 async def tts_node(self, text: AsyncIterable[str], model_settings: ModelSettings): if self.normalize_voice: return self._process_audio_stream(super().tts_node(process_structured_output(text, session=self.session), model_settings)) return Agent.default.tts_node( self, process_structured_output(text, session=self.session), model_settings )
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!