Chat viewport

Scrollable transcript wey follow newest message, with jump-to-latest button and unread divider.

Where you type chat, messages, text wey dey stream and conversation threads.

lr-chat-viewport

import '@aceshooting/lyra-ui/components/lr-chat-viewport.js';

Read di guide (for English)

Components wey relate

  • Checkpoint — Place inside chat wey person fit confirm before restoring conversation to earlier state.
  • Code block — Fenced code display with optional lazy syntax colours and copy button.
  • Lean code block — Small code display wey highlight only grammars supplied when building.
  • Conversation item — Selectable chat-history row with session title, preview and time.
  • Generation metrics — Elapsed time, tokens and speed while AI answer dey stream.
  • Handoff divider — Labeled separator wey mark where control move from one agent to another in transcript.