@xuda.io/ai_module 1.1.5343 → 1.1.5345

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.
package/index.mjs CHANGED
@@ -6914,7 +6914,7 @@ const get_chat_picture_cache = async function (uid, docType, key) {
6914
6914
  },
6915
6915
  limit: 1,
6916
6916
  };
6917
- debugger;
6917
+
6918
6918
  const ret = await db_module.find_couch_query('xuda_cache', query);
6919
6919
 
6920
6920
  if (ret.docs.length > 0) {
package/index_ms.mjs CHANGED
@@ -204,3 +204,7 @@ export const open_ai_alive_check = async function (...args) {
204
204
  export const get_chat_suggestions = async function (...args) {
205
205
  return await broker.send_to_queue("get_chat_suggestions", ...args);
206
206
  };
207
+
208
+ export const validate_credits_limit = async function (...args) {
209
+ return await broker.send_to_queue("validate_credits_limit", ...args);
210
+ };
package/index_msa.mjs CHANGED
@@ -204,3 +204,7 @@ export const open_ai_alive_check = function (...args) {
204
204
  export const get_chat_suggestions = function (...args) {
205
205
  broker.send_to_queue_async("get_chat_suggestions", ...args);
206
206
  };
207
+
208
+ export const validate_credits_limit = function (...args) {
209
+ broker.send_to_queue_async("validate_credits_limit", ...args);
210
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5343",
3
+ "version": "1.1.5345",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",