@xuda.io/ai_module 1.1.5297 → 1.1.5298
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
|
@@ -4665,7 +4665,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4665
4665
|
if (!val.plugin_id) {
|
|
4666
4666
|
throw new Error('undefined plugin_id');
|
|
4667
4667
|
}
|
|
4668
|
-
if (!val.
|
|
4668
|
+
if (!val.plugin_method) {
|
|
4669
4669
|
throw new Error('undefined method');
|
|
4670
4670
|
}
|
|
4671
4671
|
// const tool = await get_plugin_tool(app_id, uid, val.plugin_id, val.method, {});
|
|
@@ -4673,7 +4673,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4673
4673
|
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,
|
|
4674
4674
|
ai_agent_doc?.reference_doc?.studio_meta?.shared_from_uid || ai_agent_doc?.reference_doc?.studio_meta?.installed_from_uid || uid,
|
|
4675
4675
|
val.plugin_id,
|
|
4676
|
-
val.
|
|
4676
|
+
val.plugin_method,
|
|
4677
4677
|
{},
|
|
4678
4678
|
);
|
|
4679
4679
|
|