@xuda.io/ai_module 1.1.5315 → 1.1.5316
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.
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -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,
|
|
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);
|