@@ -408,6 +408,7 @@ class ExtHostChatAgent {
408
408
private _helpTextPrefix : string | vscode . MarkdownString | undefined ;
409
409
private _helpTextVariablesPrefix : string | vscode . MarkdownString | undefined ;
410
410
private _helpTextPostfix : string | vscode . MarkdownString | undefined ;
411
+ private _sampleRequest ?: string ;
411
412
private _isSecondary : boolean | undefined ;
412
413
private _onDidReceiveFeedback = new Emitter < vscode . ChatResultFeedback > ( ) ;
413
414
private _onDidPerformAction = new Emitter < vscode . ChatUserActionEvent > ( ) ;
@@ -512,6 +513,7 @@ class ExtHostChatAgent {
512
513
helpTextPrefix : ( ! this . _helpTextPrefix || typeof this . _helpTextPrefix === 'string' ) ? this . _helpTextPrefix : typeConvert . MarkdownString . from ( this . _helpTextPrefix ) ,
513
514
helpTextVariablesPrefix : ( ! this . _helpTextVariablesPrefix || typeof this . _helpTextVariablesPrefix === 'string' ) ? this . _helpTextVariablesPrefix : typeConvert . MarkdownString . from ( this . _helpTextVariablesPrefix ) ,
514
515
helpTextPostfix : ( ! this . _helpTextPostfix || typeof this . _helpTextPostfix === 'string' ) ? this . _helpTextPostfix : typeConvert . MarkdownString . from ( this . _helpTextPostfix ) ,
516
+ sampleRequest : this . _sampleRequest ,
515
517
supportIssueReporting : this . _supportIssueReporting ,
516
518
requester : this . _requester
517
519
} ) ;
@@ -599,6 +601,13 @@ class ExtHostChatAgent {
599
601
that . _isSecondary = v ;
600
602
updateMetadataSoon ( ) ;
601
603
} ,
604
+ get sampleRequest ( ) {
605
+ return that . _sampleRequest ;
606
+ } ,
607
+ set sampleRequest ( v ) {
608
+ that . _sampleRequest = v ;
609
+ updateMetadataSoon ( ) ;
610
+ } ,
602
611
get supportIssueReporting ( ) {
603
612
checkProposedApiEnabled ( that . extension , 'chatParticipantAdditions' ) ;
604
613
return that . _supportIssueReporting ;
0 commit comments