Skip to content

Commit 3de258e

Browse files
committed
docs
1 parent 2d7bed1 commit 3de258e

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

docs/protocol.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ Soon
10211021
### Config updated (⬅️)
10221022

10231023
A server notification with the new config server is considering (models, behaviors etc), usually related to config or auth changes.
1024-
Clients should update UI accordingly, if a field is missing/null, means it has no change since last config used, so clients should ignore.
1024+
Clients should update UI accordingly, if a field is missing/null, means it had no change since last config updated, so clients should ignore.
10251025

10261026
_Notification:_
10271027

@@ -1040,10 +1040,27 @@ interface ConfigUpdatedParams {
10401040
*/
10411041
models?: ChatModel[];
10421042

1043+
/**
1044+
* The default model to use in the chat, if that is present
1045+
* clients should update chat selected model unless user changed it
1046+
*/
1047+
defaultModel?: ChatModel;
1048+
10431049
/**
10441050
* The chat behaviors the user can select.
10451051
*/
10461052
behaviors?: ChatBehavior[];
1053+
1054+
/**
1055+
* The default behavior to use in the chat, if that is present
1056+
* clients should update chat selected behavior unless user changed it.
1057+
*/
1058+
defaultBehavior?: ChatBehavior;
1059+
1060+
/**
1061+
* Message to show when starting a new chat.
1062+
*/
1063+
welcomeMessage?: string;
10471064
}
10481065
}
10491066
```

0 commit comments

Comments
 (0)