You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add settings to configure time and cost in system prompt
- Added includeCurrentTime and includeCurrentCost settings to global-settings schema
- Updated getEnvironmentDetails to conditionally include time/cost sections
- Added UI controls in ContextManagementSettings component
- Added translation keys for new settings
- Updated all necessary type definitions and message handlers
- Both settings default to true for backward compatibility
Fixes#8450
Copy file name to clipboardExpand all lines: webview-ui/src/i18n/locales/en/settings.json
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -610,6 +610,14 @@
610
610
"profileDescription": "Custom threshold for this profile only (overrides global default)",
611
611
"inheritDescription": "This profile inherits the global default threshold ({{threshold}}%)",
612
612
"usesGlobal": "(uses global {{threshold}}%)"
613
+
},
614
+
"includeCurrentTime": {
615
+
"label": "Include current time in context",
616
+
"description": "When enabled, the current time and timezone information will be included in the system prompt. Disable this if models are stopping work due to time concerns."
617
+
},
618
+
"includeCurrentCost": {
619
+
"label": "Include current cost in context",
620
+
"description": "When enabled, the current API usage cost will be included in the system prompt. Disable this if models are stopping work due to cost concerns."
0 commit comments