refactor: improve context economics display logic and logging

- Updated logging category from 'CONTEXT' to 'HOOK' for context settings loading failure.
- Simplified the display logic for the Context Economics section to show only when relevant settings are enabled.
- Enhanced readability by consolidating repeated code for displaying token savings.
- Adjusted footer logic to conditionally display token savings message based on visibility of context economics.
This commit is contained in:
Alex Newman
2025-12-01 17:43:04 -05:00
parent d1876cb6e0
commit b116681529
2 changed files with 63 additions and 53 deletions
File diff suppressed because one or more lines are too long