@xuda.io/ai_module 1.1.4873 → 1.1.4875

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
@@ -6078,7 +6078,7 @@ export const unpin_ai_agent = async function (req, job_id, headers) {
6078
6078
  }
6079
6079
  };
6080
6080
 
6081
- const get_transcript = async function (uid, app_id, filename) {
6081
+ const get_transcript = async function (uid, app_id, conversation_id, account_profile_info, filename) {
6082
6082
  async function streamToBuffer(fileStream) {
6083
6083
  const chunks = [];
6084
6084
  for await (const chunk of fileStream) {
@@ -6304,7 +6304,8 @@ const attachment_handler = async function (uid, app_id, conversation_id, attachm
6304
6304
  if (!contact_doc.deep_research) throw new Error('deep research not set');
6305
6305
  }
6306
6306
 
6307
- transcript = await get_transcript(file.filename);
6307
+ transcript = await get_transcript(uid, app_id, conversation_id, account_profile_info, file.filename);
6308
+ // transcript = await get_transcript(file.filename);
6308
6309
  } catch (error) {
6309
6310
  process_stat = 'partial';
6310
6311
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4873",
3
+ "version": "1.1.4875",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",