File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/vs/workbench/contrib/chat/browser/chatSessions Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ import { IMarkdownString } from '../../../../../base/common/htmlContent.js';
4444import { IViewsService } from '../../../../services/views/common/viewsService.js' ;
4545import { ChatViewId } from '../chat.js' ;
4646import { ChatViewPane } from '../widgetHosts/viewPane/chatViewPane.js' ;
47+ import { AgentSessionProviders } from '../agentSessions/agentSessions.js' ;
4748
4849const extensionPoint = ExtensionsRegistry . registerExtensionPoint < IChatSessionsExtensionPoint [ ] > ( {
4950 extensionPoint : 'chatSessions' ,
@@ -331,8 +332,12 @@ export class ChatSessionsService extends Disposable implements IChatSessionsServ
331332 public reportInProgress ( chatSessionType : string , count : number ) : void {
332333 let displayName : string | undefined ;
333334
334- if ( chatSessionType === localChatSessionType ) {
335- displayName = 'Local Chat Agent' ;
335+ if ( chatSessionType === AgentSessionProviders . Local ) {
336+ displayName = localize ( 'chat.session.inProgress.local' , "Local Agent" ) ;
337+ } else if ( chatSessionType === AgentSessionProviders . Background ) {
338+ displayName = localize ( 'chat.session.inProgress.background' , "Background Agent" ) ;
339+ } else if ( chatSessionType === AgentSessionProviders . Cloud ) {
340+ displayName = localize ( 'chat.session.inProgress.cloud' , "Cloud Agent" ) ;
336341 } else {
337342 displayName = this . _contributions . get ( chatSessionType ) ?. contribution . displayName ;
338343 }
You can’t perform that action at this time.
0 commit comments