@xuda.io/ai_module 1.1.4882 → 1.1.4884

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
@@ -2719,7 +2719,7 @@ export const update_ai_agent_properties = async function (doc, app_id, uid, fiel
2719
2719
  select_chip
2720
2720
  segment
2721
2721
  date
2722
- file
2722
+ file (supports only type = array)
2723
2723
  checkbox
2724
2724
  textarea
2725
2725
  input
@@ -3972,7 +3972,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
3972
3972
 
3973
3973
  let out_conversation_item_obj = {
3974
3974
  _id: await _common.xuda_get_uuid('chat_conversation_item'),
3975
- stat: 1,
3975
+ stat: 3, //1,
3976
3976
  docType: 'chat_conversation_item',
3977
3977
  uid,
3978
3978
  conversation_type: 'ai_chat',
@@ -4644,7 +4644,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4644
4644
  let conversation_items = await client.conversations.items.list(conversation_doc.reference_conversation_id, { order: 'asc', after: last_conversation_item });
4645
4645
 
4646
4646
  let out_conversation_item_doc = await db_module.get_app_couch_doc_native(account_profile_info.app_id, out_conversation_item_obj._id);
4647
- out_conversation_item_doc.stat = 3;
4647
+ // out_conversation_item_doc.stat = 3;
4648
4648
  out_conversation_item_doc.conversation_item_reference_id = conversation_items?.data?.[0]?.id;
4649
4649
  await db_module.save_app_couch_doc_native(account_profile_info.app_id, out_conversation_item_doc);
4650
4650
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4882",
3
+ "version": "1.1.4884",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",