mirror of
https://github.com/vastxie/99AI.git
synced 2025-11-12 03:33:42 +08:00
v 2.5.0
This commit is contained in:
4
dist/modules/chatLog/chatLog.service.js
vendored
4
dist/modules/chatLog/chatLog.service.js
vendored
@@ -195,7 +195,7 @@ let ChatLogService = class ChatLogService {
|
||||
}
|
||||
const list = await this.chatLogEntity.find({ where });
|
||||
return list.map((item) => {
|
||||
const { prompt, role, answer, createdAt, model, conversationOptions, requestOptions, id } = item;
|
||||
const { prompt, role, answer, createdAt, model, conversationOptions, requestOptions, id, fileInfo } = item;
|
||||
let parseConversationOptions = null;
|
||||
let parseRequestOptions = null;
|
||||
try {
|
||||
@@ -212,6 +212,8 @@ let ChatLogService = class ChatLogService {
|
||||
error: false,
|
||||
conversationOptions: parseConversationOptions,
|
||||
requestOptions: parseRequestOptions,
|
||||
fileInfo: fileInfo,
|
||||
model: model,
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user