pipecat icon indicating copy to clipboard operation
pipecat copied to clipboard

TypeError: RTVIProcessor.__init__() got an unexpected keyword argument 'transport'

Open sadimoodi opened this issue 6 months ago • 4 comments

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'

sadimoodi avatar Aug 26 '24 07:08 sadimoodi