@xuda.io/ai_module 1.1.3895 → 1.1.3897

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 +4 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2688,6 +2688,10 @@ export const update_ai_agent = async function (req, job_id, headers) {
2688
2688
  // agent_doc.studio_meta.agent_image = agentConfig.agent_image;
2689
2689
 
2690
2690
  const name_changed = agentConfig.agent_name !== agent_doc.properties.menuName;
2691
+ const agent_user_guide_changed = agentConfig.agent_user_guide !== agent_doc.studio_meta.agent_user_guide;
2692
+ const agent_category_changed = agentConfig.agent_category !== agent_doc.studio_meta.agent_category;
2693
+ const agent_subcategory_changed = agentConfig.agent_subcategory !== agent_doc.studio_meta.agent_subcategory;
2694
+ const agent_instructions_changed = agentConfig.agent_instructions !== agent_doc.agentConfig.agent_instructions;
2691
2695
 
2692
2696
  agent_doc.properties.menuName = agentConfig.agent_name;
2693
2697
  agent_doc.studio_meta.agent_category = agentConfig.agent_category;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3895",
3
+ "version": "1.1.3897",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",