component · chat

TuxChatMessage

A single message in a tti-ai-chat-style conversation. Two roles (user · assistant); the assistant variant sits on --surface-sunken and uses the TTI road-glyph as its avatar so model output reads as a distinct, institutionally-branded lane. Slot citations into #citations and tools into #tools.

basic

User · Assistant pair

JA
Joe Aggie10:42:14 CDT
Summarize Q1 work-zone crash trends on TX-6.
tti-ai10:42:17 CDT
Three corridors cleared the threshold; one was rolled forward to Q2 pending updated detector counts.

anthropic/haiku-4.5 · 2.1s

<tux-chat-message role="user" author="Joe Aggie" timestamp="10:42:14 CDT">
  Summarize Q1 work-zone crash trends on TX-6.
</tux-chat-message>
<tux-chat-message
  role="assistant"
  author="tti-ai"
  timestamp="10:42:17 CDT"
  meta="anthropic/haiku-4.5 · 2.1s"
>
  Three corridors cleared the threshold; one was rolled forward to Q2
  pending updated detector counts.
</tux-chat-message>

with citations

Knowledge-grounded reply

<tux-chat-message role="assistant" author="tti-ai" timestamp="10:42:17 CDT">
  Three corridors cleared the threshold…
  <template #citations>
    <tux-citations :items="citations" />
  </template>
</tux-chat-message>