@xuda.io/ai_module 1.1.4030 → 1.1.4031

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 +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -6275,7 +6275,7 @@ export const pin_ai_agent = async function (req) {
6275
6275
  }
6276
6276
  };
6277
6277
 
6278
- export const unpin_ai_agent = async function (req) {
6278
+ export const unpin_ai_agent = async function (req, job_id, headers) {
6279
6279
  const { uid, agent_id } = req;
6280
6280
  try {
6281
6281
  const app_id = await account_module.get_account_default_project_id(uid);
@@ -6291,7 +6291,7 @@ export const unpin_ai_agent = async function (req) {
6291
6291
  data: {
6292
6292
  service: 'ai_agent_unpinned',
6293
6293
  to: [uid],
6294
- data: agent_id,
6294
+ data: await get_ai_agent_info(uid, job_id, headers, ai_agent_doc),
6295
6295
  },
6296
6296
  }),
6297
6297
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4030",
3
+ "version": "1.1.4031",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",