")
.addClass("col-2 p-2")
.addClass("role-displayer");
if (this.message.role === "user") {
this.role_displayer.append("You");
} else {
this.role_displayer.append(this.message.model);
}
}
create_content_displayer() {
this.content_displayer = $("
")
.addClass("col-8 p-2")
.addClass("content-displayer")
.addClass(`chat-${this.message.role}`)
.append(this.message.content);
this.content_displayer.data("raw_content", "");
}
create_button_group() {
this.button_group = $("
")
.addClass("col-2")
.addClass("button-group");
this.edit_button = $("