@xuda.io/ai_module 1.1.5298 → 1.1.5299

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 +2 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4656,7 +4656,6 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4656
4656
  break;
4657
4657
  }
4658
4658
  case 'plugin': {
4659
- debugger;
4660
4659
  if (reference_type !== 'ai_agents' && !prompt_suggestion_activated) {
4661
4660
  eligible_agent = false;
4662
4661
  break;
@@ -4811,7 +4810,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4811
4810
  ///////////
4812
4811
 
4813
4812
  if (reference_type === 'ai_agents' || prompt_suggestion_activated) {
4814
- _agent = agents[0];
4813
+ _agent = local_ai_agents[0];
4815
4814
 
4816
4815
  set_ts_to_agent();
4817
4816
  } else {
@@ -4822,7 +4821,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4822
4821
  // inputGuardrails: [contactGuardrail],
4823
4822
  // outputGuardrails: [contactGuardrail],
4824
4823
  model,
4825
- handoffs: agents, // this lets triageAgent forward to other agents
4824
+ handoffs: local_ai_agents, // this lets triageAgent forward to other agents
4826
4825
  });
4827
4826
  }
4828
4827
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5298",
3
+ "version": "1.1.5299",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",