pipecat
pipecat copied to clipboard
TypeError: RTVIProcessor.__init__() got an unexpected keyword argument 'transport'
I am getting this error below when running .py files that contain the following code:
from pipecat.processors.frameworks.rtvi import (
RTVIConfig,
RTVIProcessor,
RTVIServiceConfig,
RTVIServiceOptionConfig)
rtai = RTVIProcessor(transport=transport)
, it seems like the RTVI.py file contains a class (RTVIProcessor) which does not accept "transport" as a parameter in the constructor, how to fix this?
Error: rtai = RTVIProcessor(transport=transport) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: RTVIProcessor.init() got an unexpected keyword argument 'transport'