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
aeef1fca
authored
May 08, 2023
by
archer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
intro
parent
b0402434
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
public/docs/versionIntro.md
+3
-1
src/pages/api/chat/chat.ts
+1
-2
No files found.
public/docs/versionIntro.md
View file @
aeef1fca
### Fast GPT V3.
1
### Fast GPT V3.
4
-
新增 - 全新的交互 UI
-
新增 - 用户自定义头像
-
优化 - 知识库搜索,会将上一个问题并入搜索范围。
-
优化 - 模型结构设计,不再区分知识库和对话模型,而是通过开关的形式,手动选择手否需要进行知识库搜索。
-
新增 - 模型共享市场,可以使用其他用户分享的模型。
...
...
src/pages/api/chat/chat.ts
View file @
aeef1fca
...
...
@@ -34,7 +34,6 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
chatId
:
''
|
string
;
};
const
{
authorization
}
=
req
.
headers
;
if
(
!
modelId
||
!
prompt
)
{
throw
new
Error
(
'缺少参数'
);
}
...
...
@@ -46,7 +45,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
await
authChat
({
modelId
,
chatId
,
authorization
req
});
const
modelConstantsData
=
ChatModelMap
[
model
.
chat
.
chatModel
];
...
...
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