@xuda.io/ai_module 1.1.5443 → 1.1.5445

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
@@ -4349,6 +4349,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4349
4349
  return is_agent ? identity : triage_assistant + identity;
4350
4350
  };
4351
4351
  const get_agents = async function () {
4352
+ debugger;
4352
4353
  if (reference_type === 'ai_agents') {
4353
4354
  local_ai_agents = [reference_id];
4354
4355
  } else {
@@ -5345,7 +5346,7 @@ const get_plugin_tool = async function (app_id, uid, plugin_name, method, prop_d
5345
5346
  }
5346
5347
  const _method = methods[method];
5347
5348
  const userName = await get_user_name(uid);
5348
-
5349
+ debugger;
5349
5350
  const fields = await get_fields_data(_method.fields, prop_data);
5350
5351
  const params = fields;
5351
5352
  const env = { couch, app_id, uid, userName, agent_info };
@@ -5395,7 +5396,6 @@ const get_plugin_tool = async function (app_id, uid, plugin_name, method, prop_d
5395
5396
  description: _method.tooltip,
5396
5397
  parameters: z.object(schema),
5397
5398
  async execute(e, RunContext) {
5398
- debugger;
5399
5399
  const params = e || {};
5400
5400
  const { req, resolve, reject, env } = RunContext.context; //setup_doc
5401
5401
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5443",
3
+ "version": "1.1.5445",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",