Sessions: The session filter displays two Local session types (fix #302993) (#303080)

* Sessions: The session filter displays two `Local` session types (fix #302993)

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Benjamin Pasero
2026-03-19 09:20:49 +01:00
committed by GitHub
parent 270e729abb
commit dda6670b7f
@@ -109,9 +109,9 @@ export class AgenticSessionsViewPane extends ViewPane {
const sessionsFilter = this._register(this.instantiationService.createInstance(AgentSessionsFilter, {
filterMenuId: SessionsViewFilterSubMenu,
groupResults: () => this.currentGrouping,
allowedProviders: undefined, // TODO: restore to [AgentSessionProviders.Background, AgentSessionProviders.Cloud]
allowedProviders: [AgentSessionProviders.Background, AgentSessionProviders.Cloud],
providerLabelOverrides: new Map([
[AgentSessionProviders.Background, localize('chat.session.providerLabel.local', "Local")],
[AgentSessionProviders.Background, localize('chat.session.providerLabel.background', "Copilot CLI")],
]),
}));