kaitranntt
|
d3e6be171f
|
refactor(glmt)!: simplify with keyword-based thinking control (v3.4.3)
YAGNI/KISS/DRY refactor removing 926 LOC of unused complexity:
- Replace budget-calculator + task-classifier with 40 LOC keyword detection
- Add 4-tier thinking: think < think hard < think harder < ultrathink
- Remove env vars: CCS_GLMT_THINKING_BUDGET, CCS_GLMT_STREAMING, CCS_GLMT_FORCE_ENGLISH
- Add streaming auto-fallback on error
- Rename CCS_DEBUG_LOG → CCS_DEBUG (backward compatible)
- Fix ultrathink effort: high → max
- Fix GLMT proxy path after restructure
Test coverage: 27 → 35 tests, all passing
Net change: +251, -1177 lines (-926 LOC, 78% reduction)
BREAKING CHANGE: Removed CCS_GLMT_THINKING_BUDGET, CCS_GLMT_STREAMING, CCS_GLMT_FORCE_ENGLISH env vars
|
2025-11-11 18:14:05 -05:00 |
|