@wix/auto_sdk_legends_persona-chats 1.0.17 → 1.0.19

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.
@@ -1186,7 +1186,8 @@ async function sendChatMessage2(chatId, options) {
1186
1186
  metadata: options?.metadata,
1187
1187
  clientTools: options?.clientTools,
1188
1188
  namespaceV2: options?.namespaceV2,
1189
- conversationLanguage: options?.conversationLanguage
1189
+ conversationLanguage: options?.conversationLanguage,
1190
+ includeCitations: options?.includeCitations
1190
1191
  });
1191
1192
  const reqOpts = sendChatMessage(payload);
1192
1193
  sideEffects?.onSiteCall?.();
@@ -1210,7 +1211,8 @@ async function sendChatMessage2(chatId, options) {
1210
1211
  metadata: "$[1].metadata",
1211
1212
  clientTools: "$[1].clientTools",
1212
1213
  namespaceV2: "$[1].namespaceV2",
1213
- conversationLanguage: "$[1].conversationLanguage"
1214
+ conversationLanguage: "$[1].conversationLanguage",
1215
+ includeCitations: "$[1].includeCitations"
1214
1216
  },
1215
1217
  singleArgumentUnchanged: false
1216
1218
  },
@@ -1230,7 +1232,8 @@ async function sendChatMessageStreamed2(options) {
1230
1232
  attachments: options?.attachments,
1231
1233
  metadata: options?.metadata,
1232
1234
  namespaceV2: options?.namespaceV2,
1233
- conversationLanguage: options?.conversationLanguage
1235
+ conversationLanguage: options?.conversationLanguage,
1236
+ includeCitations: options?.includeCitations
1234
1237
  });
1235
1238
  const reqOpts = sendChatMessageStreamed(payload);
1236
1239
  sideEffects?.onSiteCall?.();
@@ -1251,7 +1254,8 @@ async function sendChatMessageStreamed2(options) {
1251
1254
  attachments: "$[0].attachments",
1252
1255
  metadata: "$[0].metadata",
1253
1256
  namespaceV2: "$[0].namespaceV2",
1254
- conversationLanguage: "$[0].conversationLanguage"
1257
+ conversationLanguage: "$[0].conversationLanguage",
1258
+ includeCitations: "$[0].includeCitations"
1255
1259
  },
1256
1260
  singleArgumentUnchanged: false
1257
1261
  },