Files
gemini-cli/packages/cli
mkorwel 31ebfb496a feat(core): implement tool preselection to reduce context size
- Created ToolPreselectionService using the classifier model to select only relevant tools for a given prompt.
- Integrated pre-selection into LocalAgentExecutor and GeminiClient to automatically filter the tool registry.
- Added `general.toolPreselection` toggle in configuration (enabled by default).
- Added comprehensive unit tests and an E2E scenario confirming accurate tool reduction without loss of function.
- Fixes #17113
2026-02-19 14:27:18 -06:00
..