mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-09 23:48:36 +01:00
fix chat streaming + add "deleted" field to chats
This commit is contained in:
@@ -47,8 +47,8 @@ export default defineEventHandler(async event => {
|
||||
await updateChatStatus(targetChatId, currentStatus.join(''), false);
|
||||
},
|
||||
onFinish: async calls => {
|
||||
currentStatus.push('[data:FunctionFinish]');
|
||||
await updateChatStatus(targetChatId, currentStatus.join(''), false);
|
||||
// currentStatus.push('[data:FunctionFinish]');
|
||||
// await updateChatStatus(targetChatId, currentStatus.join(''), false);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user