@xuda.io/ai_module 1.1.5459 → 1.1.5461
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 +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4703,8 +4703,8 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4703
4703
|
if (!val.plugin_method) {
|
|
4704
4704
|
throw new Error('undefined method');
|
|
4705
4705
|
}
|
|
4706
|
-
|
|
4707
|
-
const { plugin_method, type,
|
|
4706
|
+
|
|
4707
|
+
const { plugin_method, type, plugin_id, ...params } = val;
|
|
4708
4708
|
|
|
4709
4709
|
const tool = await get_plugin_tool(
|
|
4710
4710
|
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,
|