@@ -19,10 +19,9 @@ declare module 'vscode' {
19
19
readonly prompt : string ;
20
20
21
21
/**
22
- * The ID of the chat agent to which this request was directed.
22
+ * The name of the chat agent and contributing extension to which this request was directed.
23
23
*/
24
- // TODO@API NAME: agentId shouldbe agentName or just agent (because it is ChatAgent#name)
25
- readonly agent : { readonly extensionId : string ; readonly agent : string ; readonly agentId : string } ;
24
+ readonly agent : { readonly extensionId : string ; readonly agent : string } ;
26
25
27
26
/**
28
27
* The name of the {@link ChatAgentCommand command} that was selected for this request.
@@ -34,7 +33,7 @@ declare module 'vscode' {
34
33
*/
35
34
readonly variables : ChatAgentResolvedVariable [ ] ;
36
35
37
- private constructor ( prompt : string , command : string | undefined , variables : ChatAgentResolvedVariable [ ] , agent : { extensionId : string ; agentId : string } ) ;
36
+ private constructor ( prompt : string , command : string | undefined , variables : ChatAgentResolvedVariable [ ] , agent : { extensionId : string ; agent : string } ) ;
38
37
}
39
38
40
39
// TODO@API name: Turn?
@@ -50,10 +49,12 @@ declare module 'vscode' {
50
49
*/
51
50
readonly result : ChatAgentResult2 ;
52
51
53
- // TODO@API NAME: agentId shouldbe agentName or just agent (because it is ChatAgent#name)
54
- readonly agent : { readonly extensionId : string ; readonly agent : string ; readonly agentId : string } ;
52
+ /**
53
+ * The name of the chat agent and contributing extension to which this request was directed.
54
+ */
55
+ readonly agent : { readonly extensionId : string ; readonly agent : string } ;
55
56
56
- private constructor ( response : ReadonlyArray < ChatResponseTextPart | ChatResponseMarkdownPart | ChatResponseFileTreePart | ChatResponseAnchorPart | ChatResponseCommandButtonPart > , result : ChatAgentResult2 , agentId : { extensionId : string ; agentId : string } ) ;
57
+ private constructor ( response : ReadonlyArray < ChatResponseTextPart | ChatResponseMarkdownPart | ChatResponseFileTreePart | ChatResponseAnchorPart | ChatResponseCommandButtonPart > , result : ChatAgentResult2 , agentId : { extensionId : string ; agent : string } ) ;
57
58
}
58
59
59
60
export interface ChatAgentContext {
0 commit comments