@xuda.io/ai_module 1.1.4463 → 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.
- package/index.mjs +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3154,10 +3154,10 @@ 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
|
+
|
|
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);
|