@xuda.io/ai_module 1.1.4463 → 1.1.4464
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 -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
|
-
|
|
3141
|
+
debugger;
|
|
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);
|
|
@@ -3157,7 +3157,7 @@ export const create_ai_agent = async function (req, job_id, headers) {
|
|
|
3157
3157
|
agent_doc.studio_meta.account_profiles[account_profile_obj._id];
|
|
3158
3158
|
|
|
3159
3159
|
// const data = await db.insert(agent_doc);
|
|
3160
|
-
|
|
3160
|
+
|
|
3161
3161
|
const data = await db_module.save_app_couch_doc_native(account_profile_info.app_id, agent_doc);
|
|
3162
3162
|
setTimeout(async () => {
|
|
3163
3163
|
await update_ai_agent_properties(agent_doc, account_profile_info.app_id, uid);
|