@xuda.io/ai_module 1.1.5090 → 1.1.5092

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 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1168,7 +1168,7 @@ export const get_ai_chats = async function (req, job_id, headers) {
1168
1168
  return data;
1169
1169
  }
1170
1170
 
1171
- const chat_conversation_count = async function (contact_id, conversation_id) {
1171
+ const chat_conversation_count = async function () {
1172
1172
  const counts_ret = await db_module.get_app_couch_view(account_profile_info.app_id, 'chat_conversation_item_counts', {
1173
1173
  reduce: true,
1174
1174
  group_level: 999,
@@ -1540,7 +1540,6 @@ export const unarchive_ai_chat = async function (req) {
1540
1540
  // };
1541
1541
 
1542
1542
  const create_image = async function (uid, prompt, model = 'gpt-image-1-mini', size = '1024x1024', n = 1, width = 256, height = 256, metadata = {}, account_profile_info) {
1543
- debugger;
1544
1543
  try {
1545
1544
  let response;
1546
1545
  try {
@@ -5540,7 +5539,6 @@ export const get_profile_avatar = async function (profile_picture, uid, prompt,
5540
5539
  };
5541
5540
 
5542
5541
  export const get_profile_picture = async function (uid, account_type = 'business', name, metadata = {}, account_profile_info, job_id, headers = {}) {
5543
- debugger;
5544
5542
  const tempDir = os.tmpdir();
5545
5543
  const uniqueId = Date.now() + '_' + Math.random().toString(36).substring(7);
5546
5544
  const tempOutputPath = path.join(tempDir, `output_${uniqueId}.png`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5090",
3
+ "version": "1.1.5092",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",