import chainlit as cl @cl.on_message async def main(message: cl.Message): response = message.content await cl.Message(content=response).send()