Get help from the marimo community

Updated 2 months ago

Adjust chat height

Can I style a cell so that the entire chat is visible?
Plain Text
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"})

this works, but I'll still have the scroll bar at the right of the output
Attachment
image.png
M
1 comment
there is an expand icon on the right-hand side of the cell output (below the fullscreen icon), that will expand to the height of the output
Add a reply
Sign up and join the conversation on Discord