ui: fix issue with stalechat message
This commit is contained in:
parent
de1bcdad17
commit
ea8d513e6e
1 changed files with 5 additions and 2 deletions
|
@ -650,8 +650,10 @@
|
|||
<textarea
|
||||
id="chat_input"
|
||||
className=${generating.value ? "loading" : null}
|
||||
oninput=${(e) => message.value = e.target.value}
|
||||
onchange=${(e) => message.value = e.target.value}
|
||||
oninput=${(e) => {
|
||||
message.value = e.target.value;
|
||||
chatMessage.value = "";
|
||||
}}
|
||||
onkeypress=${enterSubmits}
|
||||
placeholder="Say something..."
|
||||
rows=2
|
||||
|
@ -836,6 +838,7 @@
|
|||
} else{
|
||||
document.getElementById('_prompt').value = selectedValue;
|
||||
session.value.prompt = selectedValue;
|
||||
chatMessage.value = "";
|
||||
}
|
||||
};
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue