@xuda.io/ai_module 1.1.4653 → 1.1.4654

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
@@ -4299,7 +4299,7 @@ export const create_conversation = async function (req, job_id, headers) {
4299
4299
 
4300
4300
  const process_conversation = async function (uid, conversation_id, account_profile_info, job_id, headers) {
4301
4301
  let conversation_doc = await db_module.get_app_couch_doc_native(account_profile_info.app_id, conversation_id);
4302
-
4302
+ const { conversation_type } = conversation_doc;
4303
4303
  // Ask GPT for title
4304
4304
  if (conversation_type !== 'email') {
4305
4305
  if (prompt.split(' ').length > 10) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4653",
3
+ "version": "1.1.4654",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",