enh: include message_turn metadata

This commit is contained in:
Timothy J. Baek 2024-10-24 00:23:31 -07:00
parent 160e63e509
commit 9c2d592c73

View File

@ -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