@xuda.io/ai_module 1.1.5295 → 1.1.5297

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 +3 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4278,6 +4278,8 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4278
4278
  - If it requires a specific specialist, route it to them.
4279
4279
  Only fall back to web search as an absolute last resort — never use it unless strictly necessary.
4280
4280
 
4281
+ ${agents ? 'Never offer suggestions at the end of response' : ''}
4282
+
4281
4283
  ${new_visit ? 'Always start your reply with a friendly greeting using their actual name based on the context.' : ''}
4282
4284
  ${get_output_format()}
4283
4285
 
@@ -4654,6 +4656,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4654
4656
  break;
4655
4657
  }
4656
4658
  case 'plugin': {
4659
+ debugger;
4657
4660
  if (reference_type !== 'ai_agents' && !prompt_suggestion_activated) {
4658
4661
  eligible_agent = false;
4659
4662
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5295",
3
+ "version": "1.1.5297",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",