feat: chat style change

This commit is contained in:
ulleo
2025-06-20 16:58:46 +08:00
parent 423484a99e
commit 137b2aadca
6 changed files with 223 additions and 25 deletions
+4
View File
@@ -276,6 +276,9 @@ function deleteChat(id: number | undefined): Promise<string> {
function analysis(record_id: number | undefined) {
return request.fetchStream(`/chat/record/${record_id}/analysis`, {})
}
function predict(record_id: number | undefined) {
return request.fetchStream(`/chat/record/${record_id}/predict`, {})
}
export const chatApi = {
toChatRecord,
@@ -288,4 +291,5 @@ export const chatApi = {
renameChat,
deleteChat,
analysis,
predict,
}