Based on this documentation link Agent when I tried running this simple code with an existing trained model, returns just None as output
Previous versions were good and documentation isnt clear now, please help, thanks
import asyncio
from rasa.core.agent import Agent
from rasa.core.interpreter import RasaNLUInterpreter
async def process(msg):
agent = Agent.load("models/current")
output = await agent.handle_text(msg)
print(output)
return output
asyncio.run(process("hi"))