mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 12:20:34 +00:00
@@ -4,6 +4,7 @@ export const Prompt_AgentQA = {
|
||||
- 答案需详细完整,尽可能保留原文描述,可以适当扩展答案描述。
|
||||
- 答案可以包含普通文字、链接、代码、表格、公示、媒体链接等 Markdown 元素。
|
||||
- 最多提出 50 个问题。
|
||||
- 生成的问题和答案和源文本语言相同。
|
||||
`,
|
||||
fixedText: `请按以下格式整理学习成果:
|
||||
<Context>
|
||||
|
@@ -50,9 +50,11 @@ export const getAppLatestVersion = async (appId: string, app?: AppSchema) => {
|
||||
const version = await MongoAppVersion.findOne({
|
||||
appId,
|
||||
isPublish: true
|
||||
}).sort({
|
||||
time: -1
|
||||
});
|
||||
})
|
||||
.sort({
|
||||
time: -1
|
||||
})
|
||||
.lean();
|
||||
|
||||
if (version) {
|
||||
return {
|
||||
|
Reference in New Issue
Block a user