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