mirror of
https://github.com/open-webui/open-webui
synced 2024-11-28 15:05:07 +00:00
enh: include message_turn metadata
This commit is contained in:
parent
160e63e509
commit
9c2d592c73
@ -377,7 +377,8 @@
|
||||
arena: message ? message.arena : false,
|
||||
model_id: message.model,
|
||||
message_id: message.id,
|
||||
chat_id: chatId
|
||||
chat_id: chatId,
|
||||
message_turn: createMessagesList(history, message.id).length
|
||||
},
|
||||
snapshot: {
|
||||
chat: chat
|
||||
|
Loading…
Reference in New Issue
Block a user