| 246 | } |
| 247 | |
| 248 | ToolSet create_tool_set( |
| 249 | const std::vector<std::pair<std::string, Tool>>& tool_list) { |
| 250 | ToolSet tools; |
| 251 | for (const auto& [name, tool] : tool_list) { |
| 252 | tools[name] = tool; |
| 253 | } |
| 254 | return tools; |
| 255 | } |
| 256 | |
| 257 | ToolCall create_tool_call(const std::string& tool_name, |
| 258 | const JsonValue& arguments, |
nothing calls this directly
no outgoing calls
no test coverage detected