This commit is contained in:
“yangqiao”
2025-02-16 21:27:02 +08:00
parent f912c98e16
commit 45d8686d2f
17 changed files with 127 additions and 47 deletions

View File

@@ -20,3 +20,16 @@ export function getModelList() {
url: `/model`
})
}
// 获取历史消息列表
export function getSessionsList() {
return request.get<ProjectListResult>({
url: `/sessions`
})
}
// 获取单条历史消息的聊天历史
export function getSessionsInfoList(session_uuid: any) {
return request.get<ProjectListResult>({
url: `/history/${session_uuid}`
})
}