@xuda.io/ai_module 1.1.4831 → 1.1.4832

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 +2 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3371,8 +3371,9 @@ export const submit_chat_gpt_prompt = async function (req) {
3371
3371
  format: formattedParams,
3372
3372
  },
3373
3373
  });
3374
+ report_ai_status(model);
3374
3375
  } catch (err) {
3375
- report_ai_status('vectorStores', err);
3376
+ report_ai_status(model, err);
3376
3377
  throw err;
3377
3378
  }
3378
3379
  account_module.record_ai_usage(uid, response.usage.input_tokens, response.usage.output_tokens, 'submit chat', prompt, model, metadata, account_profile_info, tools);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4831",
3
+ "version": "1.1.4832",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",