Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions js/chat/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ class ChatMessage extends LightElement {
content-type=${this.content_type}
?streaming=${this.streaming}
auto-scroll
.onContentChange=${this.#onContentChange}
.onStreamEnd=${this.#makeSuggestionsAccessible}
.onContentChange=${this.#onContentChange.bind(this)}
.onStreamEnd=${this.#makeSuggestionsAccessible.bind(this)}
></shiny-markdown-stream>
`;
}
Expand Down Expand Up @@ -262,7 +262,6 @@ class ChatInput extends LightElement {
}

class ChatContainer extends LightElement {

private get input(): ChatInput {
return this.querySelector(CHAT_INPUT_TAG) as ChatInput;
}
Expand Down
4 changes: 2 additions & 2 deletions shiny/www/py-shiny/chat/chat.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions shiny/www/py-shiny/chat/chat.js.map

Large diffs are not rendered by default.

Loading