Files
Ncurator/scripts
hy 98c3824541 feat: enhance context window handling and compaction logic
- Added contextWindowTokens to LlmPresetModel and updated mergePresetCatalogProviders to parse context window tokens from models.
- Removed compactionTriggerTokens from BrainContextBudgetSnapshot as it is no longer needed.
- Updated tests to reflect changes in context window calculations and compaction logic.
- Introduced new utility functions for resolving effective context window tokens and compaction tail tokens.
- Adjusted various test cases to ensure compatibility with the new context window handling.
- Improved error handling and logging in browser-related services and tests.
2026-09-17 12:53:55 +08:00
..