filterTools method
Implementation
Future<List<CactusTool>> filterTools(String query, List<CactusTool> tools) async {
if (tools.isEmpty) return tools;
switch (config.strategy) {
case ToolFilterStrategy.simple:
return _filterByEnhancedKeyword(query, tools);
case ToolFilterStrategy.semantic:
return await _filterBySemantic(query, tools);
}
}