import marimo as mo # Define a simple echo model function def simple_echo_model(messages, config): return f"You said: {messages[-1].content}" # Create the chat UI mo.ui.chat( simple_echo_model, prompts=["Hello", "How are you?"], show_configuration_controls=True ).style({"height": "900px"})