@xuda.io/ai_module 1.1.5576 → 1.1.5577
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
|
@@ -1960,7 +1960,6 @@ export const get_ai_agent_info = async function (uid, job_id, headers, doc, from
|
|
|
1960
1960
|
};
|
|
1961
1961
|
|
|
1962
1962
|
const agent_conversation_count = async function (agent_id) {
|
|
1963
|
-
debugger;
|
|
1964
1963
|
const counts_ret = await db_module.get_app_couch_view(account_profile_info.app_id, 'chat_conversation_item_counts', {
|
|
1965
1964
|
reduce: true,
|
|
1966
1965
|
group_level: 1,
|
|
@@ -2161,6 +2160,7 @@ export const get_ai_agents = async function (req, job_id, headers) {
|
|
|
2161
2160
|
//////////////////////
|
|
2162
2161
|
|
|
2163
2162
|
let docs = [];
|
|
2163
|
+
debugger;
|
|
2164
2164
|
for (let doc of user_agents.docs) {
|
|
2165
2165
|
let reference_doc;
|
|
2166
2166
|
// shares
|
|
@@ -2191,7 +2191,6 @@ export const get_ai_agents = async function (req, job_id, headers) {
|
|
|
2191
2191
|
|
|
2192
2192
|
return { code: 8, data: { docs: [...requests_from.docs, ...docs], total_docs: user_agents.total_docs + requests_from.total_docs } };
|
|
2193
2193
|
} catch (err) {
|
|
2194
|
-
debugger;
|
|
2195
2194
|
return { code: -8, data: err.message };
|
|
2196
2195
|
}
|
|
2197
2196
|
};
|