@wix/auto_sdk_legends_persona-chats 1.0.19 → 1.0.21

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.
@@ -1308,6 +1308,24 @@ interface SendChatMessageStreamedRequest {
1308
1308
  conversationLanguage?: string | null;
1309
1309
  /** Whether a Preview text answer cites the Knowledge items it used, in ChatMessage.citations. Ignored in other chats. */
1310
1310
  includeCitations?: boolean;
1311
+ /**
1312
+ * Function call results from the client, answering the function calls the previous request streamed. Read only with
1313
+ * stream_tool_turns.
1314
+ * @maxSize 30
1315
+ */
1316
+ functionCallResults?: FunctionCallResult[];
1317
+ /**
1318
+ * Tools the client can run, as in SendChatMessageRequest.client_tools. Read only with stream_tool_turns.
1319
+ * @maxSize 32
1320
+ */
1321
+ clientTools?: ClientToolDefinition[];
1322
+ /**
1323
+ * Stream tool turns: the request gets the tools the unary SendChatMessage would (chat_config.enabled_tool_names), its text
1324
+ * streams as {"content":…} frames while the model writes, and the turn ends with {"functionCalls":[…]} then
1325
+ * {"turn":"awaitingToolResults"}, or with {"turn":"ended","reply":…,"messageId":…}; {"textReset":true} clears the text shown
1326
+ * so far. Off (the default): the stream is as before, text frames only.
1327
+ */
1328
+ streamToolTurns?: boolean;
1311
1329
  }
1312
1330
  interface RawHttpResponse {
1313
1331
  body?: Uint8Array;
@@ -2050,8 +2068,8 @@ interface GetPermissionsResponse {
2050
2068
  inPageVideoEnabled?: boolean;
2051
2069
  /**
2052
2070
  * Whether the in-page Legend offers the Legend page's booking tools (listBookings, prepareBooking…), which it then runs
2053
- * through onboarding-service's chat door with the visitor's token: enableLegendsChatBookingTools for the Legend's site,
2054
- * the toggle the Legend page reads. Which of them a visitor gets is still the business's (getServices' allowed actions).
2071
+ * through onboarding-service's chat door with the visitor's token: legendsBookingProviders for the Legend owner's account.
2072
+ * The Legend page reads it too. Which of them a visitor gets is still the business's (getServices' allowed actions).
2055
2073
  */
2056
2074
  bookingToolsEnabled?: boolean;
2057
2075
  }