@xuda.io/ai_module 1.1.5571 → 1.1.5572

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4166,7 +4166,7 @@ const get_ai_agent_tools = async function ({ ai_agent_doc, agent_id, reference_t
4166
4166
  eligible_agent = false;
4167
4167
  break;
4168
4168
  }
4169
- continue;
4169
+
4170
4170
  try {
4171
4171
  debugger;
4172
4172
  const api_allow_methods = Object.keys(_conf.cpi_methods);
@@ -4176,6 +4176,7 @@ const get_ai_agent_tools = async function ({ ai_agent_doc, agent_id, reference_t
4176
4176
  if (!method_prop) continue;
4177
4177
  if (method_prop.private) continue;
4178
4178
  if (!method_prop.description) continue;
4179
+ if (!method_prop.mcp) continue;
4179
4180
 
4180
4181
  let inputSchema = {};
4181
4182
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5571",
3
+ "version": "1.1.5572",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",