forked from open-webui/open-webui
feat: update chat
This commit is contained in:
parent
0810a2648f
commit
1303407f53
3 changed files with 23 additions and 1 deletions
|
@ -254,6 +254,7 @@
|
|||
};
|
||||
|
||||
const rateMessage = async (messageIdx, rating) => {
|
||||
// TODO: Move this function to parent
|
||||
messages = messages.map((message, idx) => {
|
||||
if (messageIdx === idx) {
|
||||
message.rating = rating;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue