feat: retry send

This commit is contained in:
archer
2023-09-07 17:06:17 +08:00
parent 6f2d556a87
commit 1b7f87752a
9 changed files with 67 additions and 47 deletions

View File

@@ -48,24 +48,7 @@ const ChatItemSchema = new Schema({
}
},
[TaskResponseKeyEnum.responseData]: {
type: [
{
moduleName: String,
price: String,
model: String,
tokens: Number,
question: String,
answer: String,
temperature: Number,
maxToken: Number,
quoteList: Array,
completeMessages: Array,
similarity: Number,
limit: Number,
cqList: Array,
cqResult: String
}
],
type: Array,
default: []
}
});