@xuda.io/ai_module 1.1.5532 → 1.1.5533

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 +3 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -6668,9 +6668,10 @@ const attachment_handler = async function (uid, app_id, conversation_id, attachm
6668
6668
  } catch (error) {
6669
6669
  process_stat = 'partial';
6670
6670
  }
6671
- let items;
6671
+ let conversation_item_reference_id;
6672
6672
  if (transcript) {
6673
- items = await add_transcript_conversation_item(conversation_doc.reference_conversation_id, file.filename, transcript);
6673
+ conversation_item_reference_id = await add_transcript_conversation_item(uid, account_profile_info, conversation_id, 'attachment', file.filename, transcript);
6674
+ // items = await add_transcript_conversation_item(conversation_doc.reference_conversation_id, file.filename, transcript);
6674
6675
  }
6675
6676
  let out_conversation_item_obj = {
6676
6677
  _id: await _common.xuda_get_uuid('chat_conversation_item'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5532",
3
+ "version": "1.1.5533",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",