@oscloudlab/vgen-agent-assistant 0.0.22 → 0.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
Binary file
@@ -17606,7 +17606,7 @@ const useVgenChat = (props) => {
17606
17606
  getSessionListByBiz({
17607
17607
  currentPage: 1,
17608
17608
  pageSize: 20,
17609
- dataBtype: 10,
17609
+ dataBtype: 4,
17610
17610
  dataId: videoInfo.recordId,
17611
17611
  orders: [
17612
17612
  {
@@ -17618,7 +17618,7 @@ const useVgenChat = (props) => {
17618
17618
  if (!res.dataList.length) {
17619
17619
  createSession({
17620
17620
  btype: 2,
17621
- dataType: 10,
17621
+ dataType: 4,
17622
17622
  dataId: videoInfo.recordId
17623
17623
  }).then((res2) => {
17624
17624
  setChatId(res2);
@@ -18106,7 +18106,7 @@ const useVgenChat = (props) => {
18106
18106
  case "video":
18107
18107
  createSession({
18108
18108
  btype: 2,
18109
- dataType: 10,
18109
+ dataType: 4,
18110
18110
  dataId: videoInfo == null ? void 0 : videoInfo.recordId
18111
18111
  }).then((res) => {
18112
18112
  setChatId(res);
@@ -18115,13 +18115,32 @@ const useVgenChat = (props) => {
18115
18115
  getSessionListByBiz({
18116
18116
  currentPage: 1,
18117
18117
  pageSize: 20,
18118
- dataBtype: 10,
18118
+ dataBtype: 4,
18119
18119
  dataId: (videoInfo == null ? void 0 : videoInfo.recordId) || ""
18120
18120
  }).then((res2) => {
18121
18121
  setSessionList((res2 == null ? void 0 : res2.dataList) || []);
18122
18122
  });
18123
18123
  });
18124
18124
  break;
18125
+ case "knowledgeCard":
18126
+ createSession({
18127
+ btype: 2,
18128
+ dataType: 1,
18129
+ dataId: knowledgeInfo == null ? void 0 : knowledgeInfo.knowledgeId
18130
+ }).then((res) => {
18131
+ setChatId(res);
18132
+ sceneMsgSend();
18133
+ toGetHistoryList(res);
18134
+ getSessionListByBiz({
18135
+ currentPage: 1,
18136
+ pageSize: 20,
18137
+ dataBtype: 1,
18138
+ dataId: (knowledgeInfo == null ? void 0 : knowledgeInfo.knowledgeId) || ""
18139
+ }).then((res2) => {
18140
+ setSessionList((res2 == null ? void 0 : res2.dataList) || []);
18141
+ });
18142
+ });
18143
+ break;
18125
18144
  }
18126
18145
  };
18127
18146
  const setQuotedTextData = (text2) => {
Binary file
Binary file