mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-19 01:54:04 +00:00
intro
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
### Fast GPT V3.1
|
### Fast GPT V3.4
|
||||||
|
|
||||||
|
- 新增 - 全新的交互 UI
|
||||||
|
- 新增 - 用户自定义头像
|
||||||
- 优化 - 知识库搜索,会将上一个问题并入搜索范围。
|
- 优化 - 知识库搜索,会将上一个问题并入搜索范围。
|
||||||
- 优化 - 模型结构设计,不再区分知识库和对话模型,而是通过开关的形式,手动选择手否需要进行知识库搜索。
|
- 优化 - 模型结构设计,不再区分知识库和对话模型,而是通过开关的形式,手动选择手否需要进行知识库搜索。
|
||||||
- 新增 - 模型共享市场,可以使用其他用户分享的模型。
|
- 新增 - 模型共享市场,可以使用其他用户分享的模型。
|
||||||
|
@@ -34,7 +34,6 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
|||||||
chatId: '' | string;
|
chatId: '' | string;
|
||||||
};
|
};
|
||||||
|
|
||||||
const { authorization } = req.headers;
|
|
||||||
if (!modelId || !prompt) {
|
if (!modelId || !prompt) {
|
||||||
throw new Error('缺少参数');
|
throw new Error('缺少参数');
|
||||||
}
|
}
|
||||||
@@ -46,7 +45,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
|||||||
await authChat({
|
await authChat({
|
||||||
modelId,
|
modelId,
|
||||||
chatId,
|
chatId,
|
||||||
authorization
|
req
|
||||||
});
|
});
|
||||||
|
|
||||||
const modelConstantsData = ChatModelMap[model.chat.chatModel];
|
const modelConstantsData = ChatModelMap[model.chat.chatModel];
|
||||||
|
Reference in New Issue
Block a user