@xuda.io/ai_module 1.1.5109 → 1.1.5111

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 +3 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4804,7 +4804,7 @@ setTimeout(async () => {
4804
4804
 
4805
4805
  // await init_studio_units();
4806
4806
  let ret;
4807
- ret = await get_chat_suggestions(uid);
4807
+ ret = await get_chat_suggestions(uid, []);
4808
4808
  // ret = await get_active_account_profile_info(uid);
4809
4809
  // ret = await is_spam_email(uid, 'dsgr8-2994400420@gigs.craigslist.org', 'To: You, From: Us - 70% Off Stickers & Labels Today Only');
4810
4810
  // ret = await is_spam_email(uid, 'noreply@tm.openai.com', 'Please update your Plus payment method', account_profile_info);
@@ -4863,7 +4863,7 @@ setTimeout(async () => {
4863
4863
  // ret = await get_person_info(uid, 'lidan ben shlush', 'dan@locksmith-star.com', account_profile_info);
4864
4864
  // debugger;
4865
4865
  console.log(ret);
4866
- }, 1000);
4866
+ }, 2000);
4867
4867
 
4868
4868
  // PROMPT OBJECT UNIT OUTPUT
4869
4869
  //================================================================== ==================== =====================
@@ -10854,7 +10854,7 @@ export const open_ai_alive_check = async function () {};
10854
10854
  // return account_profile_info;
10855
10855
  // };
10856
10856
 
10857
- export const get_chat_suggestions = async function (uid, conversation_item_id, ai_agents, ai_model = _conf.default_ai_model) {
10857
+ export const get_chat_suggestions = async function (uid, ai_agents, conversation_item_id, ai_model = _conf.default_ai_model) {
10858
10858
  let ret = [];
10859
10859
  try {
10860
10860
  const get_agents = async function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5109",
3
+ "version": "1.1.5111",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",