@xuda.io/ai_module 1.1.3855 → 1.1.3857

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
@@ -4155,6 +4155,7 @@ const update_conversation_mood_level = async function (conversation_id, prompt,
4155
4155
  response_format: z.object({
4156
4156
  mood_level: z.number().describe('mood level of interaction: -2: very negative,-1: negative 0:natural 1:positive 2: very positive'),
4157
4157
  }),
4158
+ metadata: { conversation_id },
4158
4159
  });
4159
4160
 
4160
4161
  const mood_level_obj = JSON5.parse(mood_level.data);
@@ -4919,6 +4920,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4919
4920
  ],
4920
4921
  },
4921
4922
  ],
4923
+ metadata: { conversation_id },
4922
4924
  });
4923
4925
  if (ret.code < 0) {
4924
4926
  throw new Error('something went wrong try again later');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3855",
3
+ "version": "1.1.3857",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",