@xuda.io/ai_module 1.1.4569 → 1.1.4571

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 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4531,14 +4531,13 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4531
4531
  await _utils.delay(1000);
4532
4532
  const conversation_id = conversation_doc._id;
4533
4533
 
4534
- const obj = { id: output.state._lastTurnResponse.responseId, ts: Date.now(), ai_agent_id: output.state._currentAgent.name, attachments, conversation_type: 'ai_chat' };
4535
4534
  let out_conversation_item_obj = {
4536
4535
  _id: await _common.xuda_get_uuid('chat_conversation_item'),
4537
4536
  stat: 1,
4538
4537
  docType: 'chat_conversation_item',
4539
4538
  uid,
4540
4539
  conversation_type: 'ai_chat',
4541
- type: obj.conversation_type,
4540
+ type: 'ai_chat',
4542
4541
  date_created_ts: Date.now(),
4543
4542
  ts: Date.now(),
4544
4543
  conversation_id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4569",
3
+ "version": "1.1.4571",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",