@xuda.io/ai_module 1.1.4180 → 1.1.4182

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 +4 -4
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1960,7 +1960,7 @@ export const archive_ai_chat = async function (req) {
1960
1960
  await team_module.validate_share_exist(uid, 'chat', conversation_id);
1961
1961
 
1962
1962
  let conversation_doc = await db_module.get_app_couch_doc_native(account_profile_info.app_id, conversation_id);
1963
-
1963
+ debugger;
1964
1964
  if (conversation_doc.uid !== uid && conversation_doc?.account_profile_info?.uid !== uid) {
1965
1965
  throw new Error('Operation not allowed');
1966
1966
  }
@@ -3165,7 +3165,7 @@ export const update_ai_agent_properties = async function (doc, app_id, uid, fiel
3165
3165
  Output one option 3 words max.`,
3166
3166
  model: 'gpt-5-nano',
3167
3167
  metadata: { agent_id: db_doc._id, func: 'get_agent_assistant_name' },
3168
- account_profile_info: db_doc.account_profile_info,
3168
+ account_profile_info,
3169
3169
  });
3170
3170
 
3171
3171
  return ret.data;
@@ -3204,7 +3204,7 @@ export const update_ai_agent_properties = async function (doc, app_id, uid, fiel
3204
3204
  Artificial Intelligence,SaaS,Fintech,Healthtech,Edtech,Blockchain/Crypto,Cybersecurity,Gaming,Consulting,Marketing & Advertising,Human Resources,Legal Services,Real Estate,E-commerce,Retail,Fashion & Apparel,Consumer Goods,Healthcare,Medical,Pharmaceutical,Banking,Insurance,Investment,Manufacturing,Logistics & Supply Chain,Construction,Energy,Media,Entertainment,Sports,Education,Travel & Hospitality,Food & Beverage,Non-Profit,Government,Agriculture,Automotive,Telecommunications`,
3205
3205
  model: 'gpt-5-nano',
3206
3206
  metadata: { agent_id: db_doc._id, func: 'get_agent_industry' },
3207
- account_profile_info: db_doc.account_profile_info,
3207
+ account_profile_info,
3208
3208
  });
3209
3209
 
3210
3210
  return ret.data;
@@ -3288,7 +3288,7 @@ export const update_ai_agent_properties = async function (doc, app_id, uid, fiel
3288
3288
  `,
3289
3289
  model: 'gpt-5-nano',
3290
3290
  metadata: { agent_id: db_doc._id, func: 'get_agent_user_guide_fields' },
3291
- // response_format: z.object({}),
3291
+ account_profile_info,
3292
3292
  });
3293
3293
 
3294
3294
  return ret.data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4180",
3
+ "version": "1.1.4182",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",