Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
f7544ea4
authored
Aug 26, 2024
by
Archer
Committed by
GitHub
Aug 26, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
4.8.10 test fix (#2517)
* fix: chat config load error * prompt perf
parent
a1a9a0b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
packages/global/core/ai/prompt/agent.ts
+1
-0
packages/service/core/app/controller.ts
+5
-3
No files found.
packages/global/core/ai/prompt/agent.ts
View file @
f7544ea4
...
...
@@ -4,6 +4,7 @@ export const Prompt_AgentQA = {
- 答案需详细完整,尽可能保留原文描述,可以适当扩展答案描述。
- 答案可以包含普通文字、链接、代码、表格、公示、媒体链接等 Markdown 元素。
- 最多提出 50 个问题。
- 生成的问题和答案和源文本语言相同。
`
,
fixedText
:
`请按以下格式整理学习成果:
<Context>
...
...
packages/service/core/app/controller.ts
View file @
f7544ea4
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment