Ask a question to get started
Enter to send•Shift+Enter new line
UserMessage( self, content: str, **kwargs: Any = {}, )
Static
content
str
The message content
**kwargs
Any
{}
Additional arguments passed to parent
-cancelled dims a prompt whose turn was interrupted by the user.
-cancelled
Dim the message to mark its turn as interrupted by the user.
Exclude the prompt prefix glyph from copied text.
Select the message body without the prompt prefix glyph.
Add CSS classes for mode-specific border and ASCII border type.
Render the styled user message.
Widget displaying a user message.