@xuda.io/ai_module 1.1.5341 → 1.1.5343
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 +2 -2
- package/package.json +1 -1
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
|
-
|
|
6917
|
+
debugger;
|
|
6918
6918
|
const ret = await db_module.find_couch_query('xuda_cache', query);
|
|
6919
6919
|
|
|
6920
6920
|
if (ret.docs.length > 0) {
|
|
@@ -11221,7 +11221,7 @@ export const get_chat_suggestions = async function (req) {
|
|
|
11221
11221
|
}
|
|
11222
11222
|
};
|
|
11223
11223
|
|
|
11224
|
-
const validate_credits_limit = async function (uid, profile_id) {
|
|
11224
|
+
export const validate_credits_limit = async function (uid, profile_id) {
|
|
11225
11225
|
const account_profile_info = await get_active_account_profile_info(uid, profile_id);
|
|
11226
11226
|
|
|
11227
11227
|
let { data: ai_credits } = await account_ms.get_account_ai_usage({ uid: account_profile_info.uid });
|