Skip to content

Commit 1b87193

Browse files
committed
Remove vestigial is_streaming attribute
1 parent a8f9a50 commit 1b87193

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

js/chat/chat.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -386,15 +386,12 @@ class ChatContainer extends LightElement {
386386
this.#appendMessage(event.detail);
387387
}
388388

389-
#appendMessage(message: Message, finalize = true, streaming = false): void {
389+
#appendMessage(message: Message, finalize = true): void {
390390
this.#removeLoadingMessage();
391391

392392
const TAG_NAME =
393393
message.role === "user" ? CHAT_USER_MESSAGE_TAG : CHAT_MESSAGE_TAG;
394394
const msg = createElement(TAG_NAME, message);
395-
if (streaming) {
396-
msg.setAttribute("is_streaming", "");
397-
}
398395
this.messages.appendChild(msg);
399396

400397
if (finalize) {

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

Lines changed: 1 addition & 1 deletion
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: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)