@xuda.io/ai_module 1.1.3842 → 1.1.3843

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
@@ -6209,7 +6209,7 @@ const create_ai_agent_image = async function (req, job_id, headers) {
6209
6209
  background: 'transparent',
6210
6210
  });
6211
6211
  imageBase64 = ai_avatar_response.data[0].b64_json;
6212
- record_chat_usage(uid, ai_avatar_response.usage.input_tokens, ai_avatar_response.usage.output_tokens, 'create image', prompt, model);
6212
+ record_chat_usage(uid, ai_avatar_response.usage.input_tokens, ai_avatar_response.usage.output_tokens, 'agent avatar', prompt, model);
6213
6213
  console.log('Normalizing final avatar to 1024 with transparent padding...');
6214
6214
  imageBase64 = await normalizeBase64To1024(imageBase64);
6215
6215
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3842",
3
+ "version": "1.1.3843",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",