@xuda.io/ai_module 1.1.5409 → 1.1.5411
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
|
@@ -1274,7 +1274,7 @@ export const get_ai_chats = async function (req, job_id, headers) {
|
|
|
1274
1274
|
],
|
|
1275
1275
|
};
|
|
1276
1276
|
}
|
|
1277
|
-
|
|
1277
|
+
debugger;
|
|
1278
1278
|
let ai_chats = await db_module.find_app_couch_query(account_profile_info.app_id, opt);
|
|
1279
1279
|
if (!limit || conversation_id) {
|
|
1280
1280
|
ai_chats.total_docs = ai_chats.docs.length;
|
|
@@ -4222,6 +4222,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4222
4222
|
|
|
4223
4223
|
let in_conversation_item_doc = await db_module.get_app_couch_doc_native(account_profile_info.app_id, response_conversation_item_id);
|
|
4224
4224
|
in_conversation_item_doc.output_suggestions = ret.data || [];
|
|
4225
|
+
const save_ret = await db_module.save_app_couch_doc_native(account_profile_info.app_id, in_conversation_item_doc);
|
|
4225
4226
|
}
|
|
4226
4227
|
return ret;
|
|
4227
4228
|
};
|