@xuda.io/ai_module 1.1.3604 → 1.1.3606
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 +1 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2317,7 +2317,6 @@ export const get_ai_agent_info = async function (uid, job_id, headers, doc, from
|
|
|
2317
2317
|
};
|
|
2318
2318
|
|
|
2319
2319
|
export const get_ai_agents = async function (req, job_id, headers) {
|
|
2320
|
-
debugger;
|
|
2321
2320
|
let { uid, _id, search, filter_type = 'all', limit, skip } = req;
|
|
2322
2321
|
|
|
2323
2322
|
try {
|
|
@@ -2333,7 +2332,7 @@ export const get_ai_agents = async function (req, job_id, headers) {
|
|
|
2333
2332
|
selector: {
|
|
2334
2333
|
docType: 'studio',
|
|
2335
2334
|
stat: 3,
|
|
2336
|
-
'
|
|
2335
|
+
'properties.menuType': 'ai_agent',
|
|
2337
2336
|
},
|
|
2338
2337
|
limit: limit || 9999,
|
|
2339
2338
|
skip: skip || 0,
|