Skip to content

Commit cae5cb4

Browse files
authored
docs: document modelId param (#538)
1 parent edc1ada commit cae5cb4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

types/chat.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,10 +364,16 @@ export interface ChatUpdateParams {
364364

365365
/**
366366
* Server-initiated chat metadata updates.
367-
* Processes changes of developer profiles.
368367
*/
369368
export interface ChatOptionsUpdateParams {
369+
/**
370+
* Processes changes of developer profiles.
371+
*/
370372
chatNotifications?: ChatMessage[]
373+
/**
374+
* The last selected modelId for the conversation. This is used to allow the server to
375+
* programmatically update the selected model for persistance across sessions.
376+
*/
371377
modelId?: string
372378
}
373379

0 commit comments

Comments
 (0)