@xuda.io/ai_module 1.1.4169 → 1.1.4170

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
@@ -3486,7 +3486,7 @@ const transcribe = async function (uid, stream, metadata) {
3486
3486
  language: 'en', // hint language (ISO 639-1), e.g. "he" for Hebrew
3487
3487
  // temperature: 0 // lower = more literal
3488
3488
  });
3489
- record_chat_usage(uid, 0, resp.length || 0, 'transcribe', '', model, metadata);
3489
+ record_chat_usage(uid, 0, resp.length || 0, 'transcribe', '', model, metadata, account_profile_info);
3490
3490
  console.log(resp); // or resp for JSON formats
3491
3491
  return resp;
3492
3492
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4169",
3
+ "version": "1.1.4170",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",