@xuda.io/ai_module 1.1.5035 → 1.1.5036
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 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1347,6 +1347,7 @@ export const get_ai_chats = async function (req, job_id, headers) {
|
|
|
1347
1347
|
}
|
|
1348
1348
|
|
|
1349
1349
|
const profile_id = account_profile_info.is_main ? account_profile_info.account_profile_id : 'all';
|
|
1350
|
+
const conversation_type = conversation_type ? conversation_type : 'all';
|
|
1350
1351
|
|
|
1351
1352
|
const ret = await db_module.get_app_couch_view(account_profile_info.app_id, 'ai_chat_list', {
|
|
1352
1353
|
startkey: [profile_id, stat, reference_id, 0],
|