@xuda.io/ai_module 1.1.5316 → 1.1.5318
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 +3 -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
|
-
|
|
4679
|
+
ai_agent_doc,
|
|
4680
4680
|
);
|
|
4681
4681
|
|
|
4682
4682
|
tools.push(tool);
|
|
@@ -5329,7 +5329,8 @@ const get_plugin_tool = async function (app_id, uid, plugin_name, method, prop_d
|
|
|
5329
5329
|
let ret_exec = await execute_server_script(req, app_id, server, method, params, setup_doc);
|
|
5330
5330
|
console.log(ret_exec);
|
|
5331
5331
|
// resolve(ret_exec);
|
|
5332
|
-
return ret_exec;
|
|
5332
|
+
// return ret_exec;
|
|
5333
|
+
return `program ${ret_exec.data.id} saved`;
|
|
5333
5334
|
} catch (err) {
|
|
5334
5335
|
console.error(err);
|
|
5335
5336
|
// reject(err.message);
|