Skip to content

Commit 1686be7

Browse files
committed
Fix mis-specification of auto-scroll and content-type
1 parent 4e7ec7e commit 1686be7

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

js/chat/chat.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ class ChatMessage extends LightElement {
6767
<div class="message-icon">${unsafeHTML(icon)}</div>
6868
<shiny-markdown-stream
6969
content=${this.content}
70-
content_type=${this.content_type}
70+
content-type=${this.content_type}
7171
?streaming=${this.streaming}
72+
auto-scroll
7273
></shiny-markdown-stream>
7374
`;
7475
}
@@ -81,7 +82,7 @@ class ChatUserMessage extends LightElement {
8182
return html`
8283
<shiny-markdown-stream
8384
content=${this.content}
84-
content_type="semi-markdown"
85+
content-type="semi-markdown"
8586
></shiny-markdown-stream>
8687
`;
8788
}

shiny/www/py-shiny/chat/chat.js

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

shiny/www/py-shiny/chat/chat.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)