changed message title in case of an error
This commit is contained in:
parent
5e4df1756f
commit
1035d22a25
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ class MessagesArea extends HTMLElement {
|
|||
|
||||
if (isLastMessageFromUser) {
|
||||
const header = document.createElement('h2');
|
||||
header.textContent = "Chat GPT";
|
||||
header.textContent = "Chat GPT" + (type=='error' ? " - Error" : "");
|
||||
this.messages.appendChild(header);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue