@xuda.io/ai_module 1.1.5119 → 1.1.5121
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 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4785,7 +4785,7 @@ setTimeout(async () => {
|
|
|
4785
4785
|
|
|
4786
4786
|
// await init_studio_units();
|
|
4787
4787
|
let ret;
|
|
4788
|
-
ret = await get_chat_suggestions(uid, [], '
|
|
4788
|
+
ret = await get_chat_suggestions(uid, [], 'coi_7b65b783af38b91c8ec4c499d3694bab');
|
|
4789
4789
|
// ret = await get_active_account_profile_info(uid);
|
|
4790
4790
|
// ret = await is_spam_email(uid, 'dsgr8-2994400420@gigs.craigslist.org', 'To: You, From: Us - 70% Off Stickers & Labels Today Only');
|
|
4791
4791
|
// ret = await is_spam_email(uid, 'noreply@tm.openai.com', 'Please update your Plus payment method', account_profile_info);
|
|
@@ -10840,9 +10840,8 @@ export const get_chat_suggestions = async function (uid, ai_agents, conversation
|
|
|
10840
10840
|
|
|
10841
10841
|
try {
|
|
10842
10842
|
const account_profile_info = await get_active_account_profile_info(uid);
|
|
10843
|
-
|
|
10843
|
+
const account_info = await get_account_name({ uid_query: uid });
|
|
10844
10844
|
const conversation_item_doc = await db_module.get_app_couch_doc_native(account_profile_info.app_id, conversation_item_id);
|
|
10845
|
-
|
|
10846
10845
|
let conversation_doc = await db_module.get_app_couch_doc_native(account_profile_info.app_id, conversation_item_doc.conversation_id);
|
|
10847
10846
|
|
|
10848
10847
|
const get_agents = async function () {
|