@wix/auto_sdk_legends_persona-chats 1.0.20 → 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;