@xuda.io/ai_module 1.1.3641 → 1.1.3643

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 +3 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2999,8 +2999,8 @@ export const update_ai_agent_properties = async function (doc, app_id) {
2999
2999
 
3000
3000
  db_doc.studio_meta.agent_assistant_name = await get_agent_assistant_name();
3001
3001
 
3002
- if (!db_doc.agentConfig.agent_category?.length) {
3003
- db_doc.agentConfig.agent_category = [await get_agent_category()];
3002
+ if (!db_doc.agentConfig.agent_category) {
3003
+ db_doc.agentConfig.agent_category = await get_agent_category();
3004
3004
  db_doc.studio_meta.agent_category = db_doc.agentConfig.agent_category;
3005
3005
  }
3006
3006
 
@@ -5807,7 +5807,7 @@ const create_ai_agent_image = async function (req, job_id, headers) {
5807
5807
  The overall composition should symbolize the fusion of human creativity and machine intelligence.
5808
5808
 
5809
5809
  `;
5810
- //and a hat
5810
+
5811
5811
  const images_arr = await create_and_upload_image_to_drive('studio', 'Progs Thumbnails', ai_agent_id, prompt, 1, uid, app_id, job_id, headers, false, tags);
5812
5812
  return images_arr;
5813
5813
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3641",
3
+ "version": "1.1.3643",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",