@xuda.io/ai_module 1.1.5447 → 1.1.5449

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 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4390,7 +4390,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4390
4390
  } catch (err) {
4391
4391
  throw new Error(err.message);
4392
4392
  }
4393
-
4393
+ debugger;
4394
4394
  if (prompt_suggestion_activated || chat_suggestion_activated || reference_type === 'ai_agents') {
4395
4395
  if (ai_agent_doc?.agentConfig?.agent_ai_model) {
4396
4396
  model = ai_agent_doc.agentConfig.agent_ai_model;
@@ -4876,7 +4876,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4876
4876
  }
4877
4877
  ///////////
4878
4878
 
4879
- if (reference_type === 'ai_agents' || prompt_suggestion_activated) {
4879
+ if (reference_type === 'ai_agents' || prompt_suggestion_activated || chat_suggestion_activated) {
4880
4880
  _agent = agents[0];
4881
4881
 
4882
4882
  set_ts_to_agent();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5447",
3
+ "version": "1.1.5449",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",