Add deprecated user_name and character_name fields for backward compatibility

This commit is contained in:
Cohee
2025-11-26 19:59:05 +02:00
parent 51f9590a8f
commit cd992472d5
8 changed files with 33 additions and 3 deletions
+2
View File
@@ -6955,6 +6955,8 @@ export async function saveChat({ chatName, withMetadata, mesId, force = false }
/** @type {ChatHeader} */
const chatHeader = {
chat_metadata: metadata,
user_name: 'unused',
character_name: 'unused',
};
try {