@xuda.io/ai_module 1.1.5456 → 1.1.5457

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 +4 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4704,12 +4704,15 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4704
4704
  throw new Error('undefined method');
4705
4705
  }
4706
4706
  debugger;
4707
+
4708
+ const { plugin_method, type, plugin_name, ...params } = val;
4709
+
4707
4710
  const tool = await get_plugin_tool(
4708
4711
  ai_agent_doc?.reference_doc?.studio_meta?.shared_from_app_id || ai_agent_doc?.reference_doc?.studio_meta?.installed_from_app_id || account_profile_info.app_id,
4709
4712
  ai_agent_doc?.reference_doc?.studio_meta?.shared_from_uid || ai_agent_doc?.reference_doc?.studio_meta?.installed_from_app_uid || uid,
4710
4713
  val.plugin_id,
4711
4714
  val.plugin_method,
4712
- {},
4715
+ params,
4713
4716
  undefined,
4714
4717
  undefined,
4715
4718
  ai_agent_doc,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5456",
3
+ "version": "1.1.5457",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",