@xuda.io/ai_module 1.1.3576 → 1.1.3578
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 -10
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1765,7 +1765,7 @@ export const get_ai_chats = async function (req, job_id, headers) {
|
|
|
1765
1765
|
|
|
1766
1766
|
switch (filter_type) {
|
|
1767
1767
|
case 'archived': {
|
|
1768
|
-
opt.selector.stat =
|
|
1768
|
+
opt.selector.stat = 5;
|
|
1769
1769
|
break;
|
|
1770
1770
|
}
|
|
1771
1771
|
case 'shared': {
|
|
@@ -2317,7 +2317,7 @@ export const get_ai_agents = async function (req, job_id, headers) {
|
|
|
2317
2317
|
|
|
2318
2318
|
switch (filter_type) {
|
|
2319
2319
|
case 'archived': {
|
|
2320
|
-
opt.selector.stat =
|
|
2320
|
+
opt.selector.stat = 5;
|
|
2321
2321
|
break;
|
|
2322
2322
|
}
|
|
2323
2323
|
case 'shared': {
|
|
@@ -2374,15 +2374,8 @@ export const get_ai_agents = async function (req, job_id, headers) {
|
|
|
2374
2374
|
let doc = { ts: e.team_req_date, pending: true, properties: {}, studio_meta: { createdByUid: e.team_req_from_uid }, team_req_id: e._id };
|
|
2375
2375
|
|
|
2376
2376
|
if (e.team_req_from_uid) {
|
|
2377
|
-
// const account_info_ret = await account_module.get_account_name({ uid_query: e.team_req_from_uid });
|
|
2378
|
-
// if (account_info_ret.code < 0) {
|
|
2379
|
-
// continue; // throw new Error(`account ${contact_uid} not found`);
|
|
2380
|
-
// }
|
|
2381
|
-
|
|
2382
|
-
// doc.account_info = account_info_ret.data;
|
|
2383
2377
|
doc.user_contact = await account_module.get_user_card(uid, e.team_req_from_uid);
|
|
2384
2378
|
doc.icon_pattern = doc.user_contact.profile_avatar;
|
|
2385
|
-
// doc.icon_pattern = account_info_ret.data.profile_avatar;
|
|
2386
2379
|
}
|
|
2387
2380
|
|
|
2388
2381
|
//share_item_id
|
|
@@ -2601,7 +2594,7 @@ export const get_apps = async function (req, job_id, headers) {
|
|
|
2601
2594
|
|
|
2602
2595
|
switch (filter_type) {
|
|
2603
2596
|
case 'archived': {
|
|
2604
|
-
opt.selector.stat =
|
|
2597
|
+
opt.selector.stat = 5;
|
|
2605
2598
|
break;
|
|
2606
2599
|
}
|
|
2607
2600
|
case 'shared': {
|