@xuda.io/ai_module 1.1.5064 → 1.1.5065
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 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1173,10 +1173,10 @@ export const get_ai_chats = async function (req, job_id, headers) {
|
|
|
1173
1173
|
reduce: true,
|
|
1174
1174
|
group_level: 1,
|
|
1175
1175
|
|
|
1176
|
-
key: [contact_id, conversation_id],
|
|
1176
|
+
// key: [contact_id, conversation_id],
|
|
1177
1177
|
|
|
1178
|
-
|
|
1179
|
-
|
|
1178
|
+
startkey: [contact_id, ''],
|
|
1179
|
+
endkey: [contact_id, 'zzzzzz'],
|
|
1180
1180
|
});
|
|
1181
1181
|
|
|
1182
1182
|
return counts_ret?.rows?.[0]?.value || 0;
|