@@ -408,6 +408,7 @@ class ExtHostChatAgent {
408408 private _helpTextPrefix : string | vscode . MarkdownString | undefined ;
409409 private _helpTextVariablesPrefix : string | vscode . MarkdownString | undefined ;
410410 private _helpTextPostfix : string | vscode . MarkdownString | undefined ;
411+ private _sampleRequest ?: string ;
411412 private _isSecondary : boolean | undefined ;
412413 private _onDidReceiveFeedback = new Emitter < vscode . ChatResultFeedback > ( ) ;
413414 private _onDidPerformAction = new Emitter < vscode . ChatUserActionEvent > ( ) ;
@@ -512,6 +513,7 @@ class ExtHostChatAgent {
512513 helpTextPrefix : ( ! this . _helpTextPrefix || typeof this . _helpTextPrefix === 'string' ) ? this . _helpTextPrefix : typeConvert . MarkdownString . from ( this . _helpTextPrefix ) ,
513514 helpTextVariablesPrefix : ( ! this . _helpTextVariablesPrefix || typeof this . _helpTextVariablesPrefix === 'string' ) ? this . _helpTextVariablesPrefix : typeConvert . MarkdownString . from ( this . _helpTextVariablesPrefix ) ,
514515 helpTextPostfix : ( ! this . _helpTextPostfix || typeof this . _helpTextPostfix === 'string' ) ? this . _helpTextPostfix : typeConvert . MarkdownString . from ( this . _helpTextPostfix ) ,
516+ sampleRequest : this . _sampleRequest ,
515517 supportIssueReporting : this . _supportIssueReporting ,
516518 requester : this . _requester
517519 } ) ;
@@ -599,6 +601,13 @@ class ExtHostChatAgent {
599601 that . _isSecondary = v ;
600602 updateMetadataSoon ( ) ;
601603 } ,
604+ get sampleRequest ( ) {
605+ return that . _sampleRequest ;
606+ } ,
607+ set sampleRequest ( v ) {
608+ that . _sampleRequest = v ;
609+ updateMetadataSoon ( ) ;
610+ } ,
602611 get supportIssueReporting ( ) {
603612 checkProposedApiEnabled ( that . extension , 'chatParticipantAdditions' ) ;
604613 return that . _supportIssueReporting ;
0 commit comments