Release update (#1580)

* release doc

* fix: reg metch

* perf: tool call arg

* fix: stream update variables

* remove status

* update prompt

* rename embeddong model
This commit is contained in:
Archer
2024-05-24 11:07:03 +08:00
committed by GitHub
parent 92a3d6d268
commit 9c7c74050b
23 changed files with 119 additions and 93 deletions

View File

@@ -62,7 +62,7 @@ const ChatTest = (
const history = chatList.slice(-historyMaxLen - 2, -2);
// 流请求,获取数据
const { responseText, responseData, newVariables } = await streamFetch({
const { responseText, responseData } = await streamFetch({
url: '/api/core/chat/chatTest',
data: {
history,
@@ -78,7 +78,7 @@ const ChatTest = (
abortCtrl: controller
});
return { responseText, responseData, newVariables };
return { responseText, responseData };
},
[appDetail._id, appDetail.name, edges, nodes]
);