@xuda.io/ai_module 1.1.4594 → 1.1.4596
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 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4486,7 +4486,7 @@ const chat_email = async function (req, job_id, headers) {
|
|
|
4486
4486
|
if (perform_ai_execution) {
|
|
4487
4487
|
await attachment_handler(uid, sender_app_id, conversation_id, attachments, account_profile_info);
|
|
4488
4488
|
}
|
|
4489
|
-
const item = await client.conversations.items.create(
|
|
4489
|
+
const item = await client.conversations.items.create(conversation_doc.reference_conversation_id, {
|
|
4490
4490
|
items: [
|
|
4491
4491
|
{
|
|
4492
4492
|
type: 'message',
|
|
@@ -6452,7 +6452,7 @@ const attachment_handler = async function (uid, app_id, conversation_id, attachm
|
|
|
6452
6452
|
|
|
6453
6453
|
// prompt += await generate_XU_markdown('attachment', file); //`[]`;
|
|
6454
6454
|
|
|
6455
|
-
const items = await client.conversations.items.create(conversation_doc.
|
|
6455
|
+
const items = await client.conversations.items.create(conversation_doc.reference_conversation_id, {
|
|
6456
6456
|
items: [
|
|
6457
6457
|
{
|
|
6458
6458
|
type: 'message',
|