summaryrefslogtreecommitdiffhomepage
path: root/src/features/chat/ui/ChatView.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/chat/ui/ChatView.svelte')
-rw-r--r--src/features/chat/ui/ChatView.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/chat/ui/ChatView.svelte b/src/features/chat/ui/ChatView.svelte
index a7c39cc..ce66798 100644
--- a/src/features/chat/ui/ChatView.svelte
+++ b/src/features/chat/ui/ChatView.svelte
@@ -5,7 +5,7 @@
</script>
<div class="chat-transcript" role="log" aria-live="polite">
- {#each chunks as rendered (rendered)}
+ {#each chunks as rendered, i (rendered.seq != null ? `c${rendered.seq}` : `p${i}`)}
<article
class="message message--{rendered.role}"
class:message--provisional={rendered.provisional}