@xuda.io/ai_module 1.1.5372 → 1.1.5374

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 +1 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3748,7 +3748,7 @@ export const submit_chat_conversation = async function (req, job_id, headers) {
3748
3748
  conversation_doc.conversation_item_id = ret.data.id;
3749
3749
  await db_module.save_app_couch_doc(account_profile_info.app_id, conversation_doc);
3750
3750
  }
3751
-
3751
+ debugger;
3752
3752
  return ret;
3753
3753
  } catch (err) {
3754
3754
  return { code: -14, data: err.message || String(err) };
@@ -11241,7 +11241,6 @@ export const validate_credits_limit = async function (uid, profile_id) {
11241
11241
  let { data: ai_credits } = await account_ms.get_account_ai_usage({ uid: account_profile_info.uid });
11242
11242
 
11243
11243
  if (ai_credits.credits.total - ai_credits.usage.total < -0.5) {
11244
- debugger;
11245
11244
  throw new Error('ai credits reach to hard limit');
11246
11245
  }
11247
11246
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5372",
3
+ "version": "1.1.5374",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",