mirror of
https://github.com/Litlyx/litlyx
synced 2026-02-04 22:52:19 +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