Remove context window usage tip (#296070)

This commit is contained in:
Copilot
2026-02-18 19:36:04 +00:00
committed by GitHub
parent e3f174c7c4
commit a67c466ac5

View File

@@ -240,17 +240,6 @@ const TIP_CATALOG: ITipDefinition[] = [
when: ChatContextKeys.chatModeKind.isEqualTo(ChatModeKind.Agent),
excludeWhenToolsInvoked: ['runSubagent'],
},
{
id: 'tip.contextUsage',
message: localize('tip.contextUsage', "Tip: [View your context window usage](command:workbench.action.chat.showContextUsage) to see how many tokens are used and what's consuming them."),
when: ContextKeyExpr.and(
ChatContextKeys.chatModeKind.isEqualTo(ChatModeKind.Agent),
ChatContextKeys.contextUsageHasBeenOpened.negate(),
ChatContextKeys.chatSessionIsEmpty.negate(),
),
enabledCommands: ['workbench.action.chat.showContextUsage'],
excludeWhenCommandsExecuted: ['workbench.action.chat.showContextUsage'],
},
{
id: 'tip.sendToNewChat',
message: localize('tip.sendToNewChat', "Tip: Use [Send to New Chat](command:workbench.action.chat.sendToNewChat) to start a new conversation with a clean context window."),