@xuda.io/ai_module 1.1.4464 → 1.1.4465

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 +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3138,7 +3138,7 @@ const save_agent_status = async function (uid, agent_id, stat, agentConfig) {
3138
3138
 
3139
3139
  export const create_ai_agent = async function (req, job_id, headers) {
3140
3140
  const { agentConfig, uid } = req;
3141
- debugger;
3141
+
3142
3142
  const { account_project_id: app_id, account_info } = await account_module.get_default_project_account_doc(uid);
3143
3143
 
3144
3144
  const account_profile_info = await account_module.get_active_account_profile_info(uid);
@@ -3154,7 +3154,7 @@ export const create_ai_agent = async function (req, job_id, headers) {
3154
3154
  agent_doc.studio_meta.agent_tags = agentConfig.agent_tags;
3155
3155
  agent_doc.studio_meta.agent_user_guide = agentConfig.agent_user_guide;
3156
3156
  // agent_doc.studio_meta.account_profile_info = account_profile_info;
3157
- agent_doc.studio_meta.account_profiles[account_profile_obj._id];
3157
+ agent_doc.studio_meta.account_profiles = [account_profile_obj._id];
3158
3158
 
3159
3159
  // const data = await db.insert(agent_doc);
3160
3160
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4464",
3
+ "version": "1.1.4465",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",