(all_tools: Vec<(String, McpTool)>)
| 266 | } |
| 267 | |
| 268 | fn group_mcp_tools_by_server(all_tools: Vec<(String, McpTool)>) -> HashMap<String, Vec<McpTool>> { |
| 269 | let mut by_server = HashMap::new(); |
| 270 | for (server, tool) in all_tools { |
| 271 | by_server.entry(server).or_insert_with(Vec::new).push(tool); |
| 272 | } |
| 273 | by_server |
| 274 | } |
| 275 | |
| 276 | fn build_context_providers( |
| 277 | opts: &SessionOptions, |
no outgoing calls
no test coverage detected