@xuda.io/ai_module 1.1.4179 → 1.1.4180

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3137,6 +3137,7 @@ export const create_ai_agent = async function (req, job_id, headers) {
3137
3137
  agent_doc.studio_meta.agent_industry = agentConfig.agent_industry;
3138
3138
  agent_doc.studio_meta.agent_tags = agentConfig.agent_tags;
3139
3139
  agent_doc.studio_meta.agent_user_guide = agentConfig.agent_user_guide;
3140
+ agent_doc.studio_meta.account_profile_info = account_profile_info;
3140
3141
 
3141
3142
  // const data = await db.insert(agent_doc);
3142
3143
 
@@ -3155,7 +3156,7 @@ export const create_ai_agent = async function (req, job_id, headers) {
3155
3156
 
3156
3157
  export const update_ai_agent_properties = async function (doc, app_id, uid, fields_changed = {}) {
3157
3158
  const db_doc = await db_module.get_app_couch_doc_native(app_id, doc._id);
3158
-
3159
+ const { account_profile_info } = doc.studio_meta;
3159
3160
  const get_agent_assistant_name = async function () {
3160
3161
  const ret = await submit_chat_gpt_prompt({
3161
3162
  uid,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4179",
3
+ "version": "1.1.4180",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",