File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -4351,9 +4351,11 @@ export class LanguageModelChatUserMessage {
4351
4351
4352
4352
export class LanguageModelChatAssistantMessage {
4353
4353
content : string ;
4354
+ name ?: string ;
4354
4355
4355
- constructor ( content : string ) {
4356
+ constructor ( content : string , name ?: string ) {
4356
4357
this . content = content ;
4358
+ this . name = name ;
4357
4359
}
4358
4360
}
4359
4361
Original file line number Diff line number Diff line change @@ -79,12 +79,18 @@ declare module 'vscode' {
79
79
*/
80
80
content : string ;
81
81
82
+ /**
83
+ * The optional name of a user for this message.
84
+ */
85
+ name : string | undefined ;
86
+
82
87
/**
83
88
* Create a new assistant message.
84
89
*
85
90
* @param content The content of the message.
91
+ * @param name The optional name of a user for the message.
86
92
*/
87
- constructor ( content : string ) ;
93
+ constructor ( content : string , name ?: string ) ;
88
94
}
89
95
90
96
/**
You can’t perform that action at this time.
0 commit comments