@xuda.io/ai_module 1.1.3963 → 1.1.3964

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 +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2982,7 +2982,7 @@ const upload_agent_files = async function (uid, agent_doc) {
2982
2982
 
2983
2983
  const tmp_file = '/tmp/' + tool.youtube.file_name;
2984
2984
  const file_stream = fs.createReadStream(tmp_file);
2985
- const transcript = await transcribe(uid, file_stream, { conversation_id, func: 'upload_agent_files - youtube' });
2985
+ const transcript = await transcribe(uid, file_stream, { agent_id: agent_doc._id, func: 'upload_agent_files - youtube' });
2986
2986
  const file = new File([Buffer.from(transcript, 'utf8')], tool.youtube.file_name, {
2987
2987
  type: 'text/plain',
2988
2988
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3963",
3
+ "version": "1.1.3964",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",