@xuda.io/ai_module 1.1.5525 → 1.1.5526
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.
- package/index.mjs +2 -9
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3905,15 +3905,8 @@ const chat_note = async function (req, job_id, headers) {
|
|
|
3905
3905
|
await attachment_handler(uid, sender_app_id, conversation_id, attachments, account_profile_info);
|
|
3906
3906
|
let item;
|
|
3907
3907
|
try {
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
{
|
|
3911
|
-
type: 'message',
|
|
3912
|
-
role: 'user',
|
|
3913
|
-
content: [{ type: 'input_text', text: body }],
|
|
3914
|
-
},
|
|
3915
|
-
],
|
|
3916
|
-
});
|
|
3908
|
+
add_conversation_item(uid, profile_id, conversation_id, body, 'note', conversation_doc.reference_id, {});
|
|
3909
|
+
|
|
3917
3910
|
report_ai_status('conversations');
|
|
3918
3911
|
} catch (err) {
|
|
3919
3912
|
report_ai_status('conversations', err);
|