We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa24e8b + 63c423a commit 7703026Copy full SHA for 7703026
.changeset/calm-otters-kneel.md
@@ -0,0 +1,5 @@
1
+---
2
+'@openai/chatkit': patch
3
4
+
5
+Add `persistent` field to `ToolOption`
packages/chatkit/types/index.d.ts
@@ -437,6 +437,14 @@ export type ToolOption = {
437
* @default false
438
*/
439
pinned?: boolean;
440
441
+ /**
442
+ * Whether the tool continues to be selected after the user submits a message.
443
+ * The default behavior is for tool selection to be cleared after message submission.
444
+ *
445
+ * @default false
446
+ */
447
+ persistent?: boolean;
448
};
449
450
/**
0 commit comments