@xuda.io/ai_module 1.1.4802 → 1.1.4803
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 +3 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3445,7 +3445,7 @@ export const update_ai_agent_properties = async function (doc, app_id, uid, fiel
|
|
|
3445
3445
|
|
|
3446
3446
|
`,
|
|
3447
3447
|
model: 'gpt-5-nano',
|
|
3448
|
-
metadata: { agent_id: db_doc._id, func: '
|
|
3448
|
+
metadata: { agent_id: db_doc._id, func: 'get_agent_user_guide_steps' },
|
|
3449
3449
|
account_profile_info,
|
|
3450
3450
|
});
|
|
3451
3451
|
|
|
@@ -3467,6 +3467,8 @@ export const update_ai_agent_properties = async function (doc, app_id, uid, fiel
|
|
|
3467
3467
|
if (db_doc.agentConfig.agent_user_guide && (fields_changed.agent_user_guide_changed || fields_changed.all)) {
|
|
3468
3468
|
db_doc.agentConfig.agent_user_guide_fields = await get_agent_user_guide_fields();
|
|
3469
3469
|
db_doc.studio_meta.agent_user_guide_fields = db_doc.agentConfig.agent_user_guide_fields;
|
|
3470
|
+
db_doc.agentConfig.agent_user_guide_steps = await get_agent_user_guide_steps(db_doc.studio_meta.agent_user_guide_fields);
|
|
3471
|
+
db_doc.studio_meta.agent_user_guide_steps = db_doc.agentConfig.agent_user_guide_steps;
|
|
3470
3472
|
}
|
|
3471
3473
|
|
|
3472
3474
|
const save_ret = await db_module.save_app_couch_doc_native(app_id, db_doc);
|