You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* A function to generate the system message. Defaults to `defaultSystemMessage`.
42
42
*/
43
43
makeSystemMessage?: SystemMessageFunction;
44
+
45
+
/**
46
+
* Disables inclusion of CopilotKit’s default system message. When true, no system message is sent (this also suppresses any custom message from <code>makeSystemMessage</code>).
* Disables inclusion of CopilotKit’s default system message. When true, no system message is sent (this also suppresses any custom message from <code>makeSystemMessage</code>).
230
+
*/
231
+
disableSystemMessage?: boolean;
232
+
228
233
/**
229
234
* A custom assistant message component to use instead of the default.
230
235
*/
@@ -384,6 +389,7 @@ export function CopilotChat({
384
389
suggestions ="auto",
385
390
onSubmitMessage,
386
391
makeSystemMessage,
392
+
disableSystemMessage,
387
393
onInProgress,
388
394
onStopGeneration,
389
395
onReloadMessages,
@@ -584,6 +590,7 @@ export function CopilotChat({
584
590
}=useCopilotChatLogic(
585
591
suggestions,
586
592
makeSystemMessage,
593
+
disableSystemMessage,
587
594
onInProgress,
588
595
onSubmitMessage,
589
596
onStopGeneration,
@@ -789,6 +796,7 @@ export function WrappedCopilotChat({
Disables inclusion of CopilotKit’s default system message. When true, no system message is sent (this also suppresses any custom message from <code>makeSystemMessage</code>).
Disables inclusion of CopilotKit’s default system message. When true, no system message is sent (this also suppresses any custom message from <code>makeSystemMessage</code>).
Disables inclusion of CopilotKit’s default system message. When true, no system message is sent (this also suppresses any custom message from <code>makeSystemMessage</code>).
Disables inclusion of CopilotKit’s default system message. When true, no system message is sent (this also suppresses any custom message from <code>makeSystemMessage</code>).
0 commit comments