@xuda.io/ai_module 1.1.4684 → 1.1.4686
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 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3253,6 +3253,7 @@ export const create_ai_agent = async function (req, job_id, headers) {
|
|
|
3253
3253
|
};
|
|
3254
3254
|
|
|
3255
3255
|
export const update_ai_agent_properties = async function (doc, app_id, uid, fields_changed = {}) {
|
|
3256
|
+
debugger;
|
|
3256
3257
|
const db_doc = await db_module.get_app_couch_doc_native(app_id, doc._id);
|
|
3257
3258
|
// const { account_profile_info } = doc.studio_meta;
|
|
3258
3259
|
const account_profile_info = await account_module.get_active_account_profile_info(uid);
|
|
@@ -3405,7 +3406,7 @@ export const update_ai_agent_properties = async function (doc, app_id, uid, fiel
|
|
|
3405
3406
|
db_doc.agentConfig.agent_industry = await get_agent_industry();
|
|
3406
3407
|
db_doc.studio_meta.agent_industry = db_doc.agentConfig.agent_industry;
|
|
3407
3408
|
}
|
|
3408
|
-
|
|
3409
|
+
debugger;
|
|
3409
3410
|
if (db_doc.agentConfig.agent_user_guide && (fields_changed.agent_user_guide_changed || fields_changed.all)) {
|
|
3410
3411
|
db_doc.agentConfig.agent_user_guide_fields = await get_agent_user_guide_fields();
|
|
3411
3412
|
db_doc.studio_meta.agent_user_guide_fields = db_doc.agentConfig.agent_user_guide_fields;
|