@xuda.io/ai_module 1.1.4922 → 1.1.4923
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 +5 -13
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -5994,19 +5994,11 @@ export const unpin_ai_agent = async function (req, job_id, headers) {
|
|
|
5994
5994
|
|
|
5995
5995
|
const save_ret = await db_module.save_app_couch_doc(app_id, ai_agent_doc);
|
|
5996
5996
|
|
|
5997
|
-
|
|
5998
|
-
'
|
|
5999
|
-
|
|
6000
|
-
|
|
6001
|
-
|
|
6002
|
-
data: {
|
|
6003
|
-
service: 'ai_agent_unpinned',
|
|
6004
|
-
to: [uid],
|
|
6005
|
-
data: await get_ai_agent_info(uid, job_id, headers, ai_agent_doc),
|
|
6006
|
-
},
|
|
6007
|
-
}),
|
|
6008
|
-
),
|
|
6009
|
-
);
|
|
5997
|
+
ws_dashboard_ms.emit_message_to_dashboard({
|
|
5998
|
+
service: 'ai_agent_unpinned',
|
|
5999
|
+
to: [uid],
|
|
6000
|
+
data: await get_ai_agent_info(uid, job_id, headers, ai_agent_doc),
|
|
6001
|
+
});
|
|
6010
6002
|
|
|
6011
6003
|
return save_ret;
|
|
6012
6004
|
} catch (err) {
|