when i run the def run(), i found the agent.handle_channel is deprecated, and i can’t find the new function to solve it, i don’t want to use ‘rasa shell’, so what can i do?
def run(serve_forever=True): agent = Agent.load(“models/dialogue”, interpreter=RasaNLUInterpreter(“models/demo”)) if serve_forever: agent.handle_channel(ConsoleInputChannel()) return agent
source code: