Generation metrics

Shows elapsed time, tokens, and throughput while an AI response streams.

Chat composer, messages, streaming text, and transcript threads.

lr-generation-metrics

import '@aceshooting/lyra-ui/components/lr-generation-metrics.js';

Read guide (English)

Related components

  • Handoff divider — Labelled separator marking control transfer between agents in a transcript.
  • Markdown — Sanitised Markdown-to-HTML rendering with GFM tables, code, and links
  • Markdown core — Build-lean Markdown rendering that highlights fenced code only from a compile-time supplied grammar map.
  • Message actions — Per-message action toolbar for a chat message with copy, regenerate, edit, and feedback built-ins.
  • Message feedback — Thumbs up/down rating for one assistant message with an optional reason-and-comment detail panel.
  • Model select — Provider and model picker with a fixed catalogue or free-text custom entry.