@xuda.io/ai_module 1.1.3832 → 1.1.3833

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
@@ -5007,7 +5007,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
5007
5007
  debugger;
5008
5008
  conversation_doc.ts = Date.now();
5009
5009
  conversation_doc.stat = 2;
5010
- conversation_doc.message = [...conversation_doc.message, ...system_message_items];
5010
+ conversation_doc.messages = [...conversation_doc.messages, ...system_message_items];
5011
5011
  // s.push(obj);
5012
5012
  await db_module.save_app_couch_doc_native(app_id, conversation_doc);
5013
5013
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3832",
3
+ "version": "1.1.3833",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",