Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(web): make context window indicator opt-in #9190

Mergedmaria-rcksmerged 2 commits intomain fromrefs/pull/9190/headmerged by maria-rcks View on GitHub

Showing 6 changed files with 23 additions and 1 deletion (loading 3).

x
0 of 6 viewed, 6 left
1 addition and 0 deletionsapps/desktop/src/settings/DesktopClientSettings.test.tsModified
View file
@@ -23,6 +23,7 @@
confirmThreadArchive: true,
confirmThreadDelete: false,
confirmThreadUnpin: false,
+ contextWindowMeterEnabled: false,
dismissedProviderUpdateNotificationKeys: [],
diffIgnoreWhitespace: true,
environmentIdentificationMode: "artwork",
3 additions and 1 deletionapps/web/src/components/chat/ChatComposer.tsxModified
View file
@@ -4339,7 +4339,9 @@
) : null}
<ComposerFooterPrimaryActions
compact={isComposerPrimaryActionsCompact}
- activeContextWindow={activeContextWindow}
+ activeContextWindow={
+ settings.contextWindowMeterEnabled ? activeContextWindow : null
+ }
activeThreadModelDisplayName={activeThreadModelDisplayName}
pendingAction={pendingPrimaryAction}
isRunning={phase === "running"}
19 additions and 0 deletionsapps/web/src/components/settings/SettingsPanels.tsxModified
View file
@@ -522,6 +522,9 @@
...(settings.showSkillsInSlashMenu !== DEFAULT_UNIFIED_SETTINGS.showSkillsInSlashMenu
? ["Show skills in slash menu"]