@xuda.io/ai_module 1.1.5315 → 1.1.5317

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
@@ -4676,7 +4676,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4676
4676
  {},
4677
4677
  undefined,
4678
4678
  undefined,
4679
- { ai_agent_doc },
4679
+ ai_agent_doc,
4680
4680
  );
4681
4681
 
4682
4682
  tools.push(tool);
@@ -5324,7 +5324,7 @@ const get_plugin_tool = async function (app_id, uid, plugin_name, method, prop_d
5324
5324
  parameters: z.object(schema),
5325
5325
  async execute(e, RunContext) {
5326
5326
  const params = e || {};
5327
- const { req, setup_doc, resolve, reject, env } = RunContext.context;
5327
+ const { req, resolve, reject, env } = RunContext.context; //setup_doc
5328
5328
  try {
5329
5329
  let ret_exec = await execute_server_script(req, app_id, server, method, params, setup_doc);
5330
5330
  console.log(ret_exec);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5315",
3
+ "version": "1.1.5317",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",