@xuda.io/ai_module 1.1.3791 → 1.1.3792

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.
Files changed (2) hide show
  1. package/index.mjs +7 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -5899,10 +5899,15 @@ export const get_ai_workspace_pending_counts = async function (req, job_id, head
5899
5899
  reduce: true,
5900
5900
  group_level: 999,
5901
5901
  });
5902
-
5902
+ let data = {};
5903
5903
  for (const item of workspace_pending_counts_ret.data.rows) {
5904
5904
  switch (item.key[1]) {
5905
- case 'chst':
5905
+ case 'chat':
5906
+ data['ai_chats'] = item.value;
5907
+ break;
5908
+
5909
+ case 'chat':
5910
+ data['ai_chats'] = item.value;
5906
5911
  break;
5907
5912
 
5908
5913
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3791",
3
+ "version": "1.1.3792",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",