use agent's full name in the inline chat provider wrapper (#212871)

This commit is contained in:
Johannes Rieken
2024-05-16 16:19:53 +02:00
committed by GitHub
parent 88f27ceb0c
commit 462a2a7c8f

View File

@@ -761,7 +761,7 @@ export class AgentInlineChatProvider implements IInlineChatSessionProvider {
readonly agent: IChatAgent,
@IChatAgentService private readonly _chatAgentService: IChatAgentService,
) {
this.label = agent.name;
this.label = agent.fullName ?? agent.name;
this.extensionId = agent.extensionId;
this.supportIssueReporting = agent.metadata.supportIssueReporting;
}