Skip to content

Commit 1730f3e

Browse files
Show agent picker for Background Agents in welcome view (#298202)
* Show agent picker for Background Agents in welcome view * Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f8edf62 commit 1730f3e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,9 +477,10 @@ export class OpenModePickerAction extends Action2 {
477477
ContextKeyExpr.or(
478478
ChatContextKeys.lockedToCodingAgent.negate(),
479479
ChatContextKeys.chatSessionHasCustomAgentTarget),
480-
// Hide in welcome view when session type is not local
480+
// Show in welcome view for local sessions or sessions with custom agent target
481481
ContextKeyExpr.or(
482482
ChatContextKeys.inAgentSessionsWelcome.negate(),
483+
ChatContextKeys.chatSessionHasCustomAgentTarget,
483484
ChatContextKeys.agentSessionType.isEqualTo(AgentSessionProviders.Local))),
484485
group: 'navigation',
485486
},

0 commit comments

Comments
 (0)