@xuda.io/ai_module 1.1.5182 → 1.1.5184

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 +2 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4086,6 +4086,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4086
4086
  reference_id: conversation_doc.reference_id,
4087
4087
  direction: 'out',
4088
4088
  role: 'user',
4089
+ job_id,
4089
4090
  };
4090
4091
  let out_conversation_item_save_ret = await db_module.save_app_couch_doc(account_profile_info.app_id, out_conversation_item_obj);
4091
4092
  if (!conversation_item_id) {
@@ -4781,6 +4782,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4781
4782
  direction: 'in',
4782
4783
  role: 'assistant',
4783
4784
  ai_agent_id: output.state._currentAgent.name,
4785
+ job_id,
4784
4786
  };
4785
4787
  const save_ret = await db_module.save_app_couch_doc_native(account_profile_info.app_id, in_conversation_item_obj);
4786
4788
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5182",
3
+ "version": "1.1.5184",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",