mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
feat: prompt call tool support reason;perf: ai proxy doc (#3982)
* update schema * perf: ai proxy doc * feat: prompt call tool support reason
This commit is contained in:
@@ -9,41 +9,23 @@ const AppTemplateSchema = new Schema({
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
name: {
|
||||
type: String
|
||||
},
|
||||
intro: {
|
||||
type: String
|
||||
},
|
||||
avatar: {
|
||||
type: String
|
||||
},
|
||||
author: {
|
||||
type: String
|
||||
},
|
||||
name: String,
|
||||
intro: String,
|
||||
avatar: String,
|
||||
author: String,
|
||||
tags: {
|
||||
type: [String],
|
||||
default: undefined
|
||||
},
|
||||
type: {
|
||||
type: String
|
||||
},
|
||||
isActive: {
|
||||
type: Boolean
|
||||
},
|
||||
userGuide: {
|
||||
type: Object
|
||||
},
|
||||
isQuickTemplate: {
|
||||
type: Boolean
|
||||
},
|
||||
type: String,
|
||||
isActive: Boolean,
|
||||
userGuide: Object,
|
||||
isQuickTemplate: Boolean,
|
||||
order: {
|
||||
type: Number,
|
||||
default: -1
|
||||
},
|
||||
workflow: {
|
||||
type: Object
|
||||
}
|
||||
workflow: Object
|
||||
});
|
||||
|
||||
AppTemplateSchema.index({ templateId: 1 });
|
||||
|
Reference in New Issue
Block a user