Usage badge

Small tokens, cost and latency strip for message or run, with breakdown on hover.

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

lr-usage-badge

import '@aceshooting/lyra-ui/components/lr-usage-badge.js';

Read di guide (for English)

Components wey relate

  • Voice picker — Choose TTS voice from supplied catalog, hear preview and handle stale choice.
  • Widget renderer — E render declarative JSON widget tree from agent stream through approved component registry.
  • Message parts — E render AI message parts in order: text, reasoning, tool, citation, attachment and media.
  • Prompt input — E join prompt text with attachments, model, voice, sources, mentions, commands and queued turns.
  • Prompt queue — Controlled follow-up prompts wey person fit edit, reorder, remove or send now.
  • Real-time session — Voice-session shell independent of provider, with connection, activity, transcript, capture, mute and interrupt.