feat: rename conversation and delete conversation and preview reference image and fetch file thumbnails (#79)

* feat: fetch file thumbnails

* feat: preview reference image

* feat: delete conversation

* feat: rename conversation
This commit is contained in:
balibabu
2024-02-28 16:28:33 +08:00
committed by GitHub
parent 22da1b1bfe
commit 01ab5b5db1
14 changed files with 487 additions and 92 deletions

View File

@ -11,6 +11,7 @@ const {
setConversation,
completeConversation,
listConversation,
removeConversation,
} = api;
const methods = {
@ -46,6 +47,10 @@ const methods = {
url: completeConversation,
method: 'post',
},
removeConversation: {
url: removeConversation,
method: 'post',
},
} as const;
const chatService = registerServer<keyof typeof methods>(methods, request);