@xuda.io/ai_module 1.1.5285 → 1.1.5287

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 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4313,6 +4313,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4313
4313
  return is_agent ? identity : triage_assistant + identity;
4314
4314
  };
4315
4315
  const get_agents = async function () {
4316
+ debugger;
4316
4317
  if (typeof ai_agents === 'undefined') {
4317
4318
  // no agents
4318
4319
  ai_agents = [];
@@ -4353,6 +4354,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4353
4354
  } catch (err) {
4354
4355
  throw new Error(err.message);
4355
4356
  }
4357
+
4356
4358
  if (prompt_suggestion_activated || reference_type === 'ai_agents') {
4357
4359
  if (ai_agent_doc.agent_ai_model) {
4358
4360
  model = ai_agent_doc.agent_ai_model;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5285",
3
+ "version": "1.1.5287",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",