@xuda.io/ai_module 1.1.3875 → 1.1.3876

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
@@ -4156,7 +4156,7 @@ const update_conversation_mood_level = async function (conversation_id, prompt,
4156
4156
  try {
4157
4157
  // analyze the mood of the conversation
4158
4158
  const mood_level = await submit_chat_gpt_prompt({
4159
- uid,
4159
+ uid: sender_uid,
4160
4160
  prompt: `analyze the mood of the following prompt: ${prompt}. return -2: very negative,-1: negative 0:natural 1:positive 2: very positive.`,
4161
4161
  model: 'gpt-5-nano',
4162
4162
  response_format: z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3875",
3
+ "version": "1.1.3876",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",