@xuda.io/ai_module 1.1.4428 → 1.1.4429

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
@@ -4061,7 +4061,7 @@ export const create_conversation = async function (req, job_id, headers) {
4061
4061
  let conversation_doc = {
4062
4062
  _id: conversation_obj.id,
4063
4063
  docType: 'chat_conversation',
4064
- title: prompt.substr(0, 40),
4064
+ title: conversation_type !== 'email' ? prompt.substr(0, 40) : prompt,
4065
4065
  date_created_ts: t,
4066
4066
  ts: t,
4067
4067
  stat: !conversation_type || conversation_type === 'ai' ? 1 : 3,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4428",
3
+ "version": "1.1.4429",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",