-
Context Tokens
-
- {(
- (activeTab?.usageStats?.inputTokens ?? 0) +
- (activeTab?.usageStats?.outputTokens ?? 0)
- ).toLocaleString()}
-
+ {/* Context usage section - only shown when contextWindow is configured */}
+ {(activeTab?.usageStats?.contextWindow ?? 0) > 0 && (
+
+
+ Context Tokens
+
+ {(
+ (activeTab?.usageStats?.inputTokens ?? 0) +
+ (activeTab?.usageStats?.outputTokens ?? 0)
+ ).toLocaleString()}
+
+
+
+ Context Size
+
+ {activeTab.usageStats.contextWindow.toLocaleString()}
+
+
+
+ Usage
+
+ {activeTabContextUsage}%
+
+
-
- Context Size
-
- {(activeTab?.usageStats?.contextWindow ?? 200000).toLocaleString()}
-
-
-
- Usage
-
- {activeTabContextUsage}%
-
-
-