@xuda.io/ai_module 1.1.4623 → 1.1.4625
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 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1866,7 +1866,7 @@ export const get_ai_chats = async function (req, job_id, headers) {
|
|
|
1866
1866
|
],
|
|
1867
1867
|
};
|
|
1868
1868
|
}
|
|
1869
|
-
|
|
1869
|
+
|
|
1870
1870
|
// const app_id = await account_module.get_account_default_project_id(uid);
|
|
1871
1871
|
|
|
1872
1872
|
////// FROM - IN
|
|
@@ -5229,7 +5229,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
5229
5229
|
outputTokens += item.usage.outputTokens;
|
|
5230
5230
|
}
|
|
5231
5231
|
|
|
5232
|
-
|
|
5232
|
+
await db_module.save_app_couch_doc_native(account_profile_info.app_id, conversation_doc);
|
|
5233
5233
|
|
|
5234
5234
|
// let conversation_item_obj = {
|
|
5235
5235
|
// _id: obj.id,
|