@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.
- package/index.mjs +3 -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
|
}
|