Handle_channels() parameter serve_forever gives me an error

my code is agent.handle_channels([input_channel], 5004, serve_forever=True)

and when i run my code it gives me this error

handle_channels() got an unexpected keyword argument ‘serve_forever’

serve_forever is no longer an argument of handle_channels, actually the entire method is deprecated, you should use rasa.run instead.

1 Like

okay, i’ll check that :slight_smile: