blink 0.1.34 → 0.1.35

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.
@@ -5,7 +5,14 @@ interface Chat {
5
5
  readonly id: string;
6
6
  }
7
7
  interface MessageOptions {
8
- readonly behavior?: "enqueue" | "interrupt";
8
+ /**
9
+ * behavior of the chat when sending this message.
10
+ *
11
+ * - "enqueue" will add messages to the chat and start the chat eventually.
12
+ * - "interrupt" will interrupt the chat if running and send messages.
13
+ * - "append" will add messages to the chat.
14
+ */
15
+ readonly behavior?: "enqueue" | "interrupt" | "append";
9
16
  }
10
17
  interface Message<METADATA = unknown, DATA_TYPES extends UIDataTypes = UIDataTypes, TOOLS extends UITools = UITools> {
11
18
  readonly role: UIMessage["role"];
@@ -5,7 +5,14 @@ interface Chat {
5
5
  readonly id: string;
6
6
  }
7
7
  interface MessageOptions {
8
- readonly behavior?: "enqueue" | "interrupt";
8
+ /**
9
+ * behavior of the chat when sending this message.
10
+ *
11
+ * - "enqueue" will add messages to the chat and start the chat eventually.
12
+ * - "interrupt" will interrupt the chat if running and send messages.
13
+ * - "append" will add messages to the chat.
14
+ */
15
+ readonly behavior?: "enqueue" | "interrupt" | "append";
9
16
  }
10
17
  interface Message<METADATA = unknown, DATA_TYPES extends UIDataTypes = UIDataTypes, TOOLS extends UITools = UITools> {
11
18
  readonly role: UIMessage["role"];