@xuda.io/account_module 1.2.1975 → 1.2.1977

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.
Files changed (2) hide show
  1. package/index.mjs +4 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2890,7 +2890,7 @@ export const generate_contact_avatar = async function (req, job_id, headers) {
2890
2890
  export const set_deep_research_contact = async function (req, job_id, headers) {
2891
2891
  // const email_module = await import(`${module_path}/email_module/index.mjs`);
2892
2892
  const ai_module = await import(`${module_path}/ai_module/index.mjs`);
2893
- debugger;
2893
+
2894
2894
  const { contact_id, uid } = req;
2895
2895
  const account_profile_info = await get_active_account_profile_info(uid);
2896
2896
  try {
@@ -2925,13 +2925,15 @@ export const set_deep_research_contact = async function (req, job_id, headers) {
2925
2925
  process_stat: 'partial',
2926
2926
  },
2927
2927
  });
2928
-
2928
+ debugger;
2929
2929
  for await (let conversation_item of conversation_items.docs) {
2930
2930
  try {
2931
2931
  const account_profile_info = await get_active_account_profile_info(conversation_item.uid);
2932
2932
  let conversation_doc = await db_module.get_app_couch_doc_native(account_profile_info.app_id, conversation_item.conversation_id);
2933
2933
 
2934
2934
  const transcript = ai_module.get_transcript(conversation_item.uid, conversation_item.app_id, conversation_item.conversation_id, account_profile_info, conversation_item.file.filename);
2935
+ let items;
2936
+ console.log(transcript);
2935
2937
  if (transcript) {
2936
2938
  items = await ai_module.add_transcript_conversation_item(conversation_doc.reference_conversation_id, conversation_item.file.filename, transcript);
2937
2939
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1975",
3
+ "version": "1.2.1977",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {