getExpectedTools gets all expected tools from all variants
(testCase models.TestCase)
| 389 | |
| 390 | // getExpectedTools gets all expected tools from all variants |
| 391 | func getExpectedTools(testCase models.TestCase) []string { |
| 392 | var tools []string |
| 393 | for _, variant := range testCase.ExpectedToolVariants { |
| 394 | for _, tool := range variant.Tools { |
| 395 | tools = append(tools, tool.Name) |
| 396 | } |
| 397 | } |
| 398 | return tools |
| 399 | } |
| 400 | |
| 401 | // getActualTools gets all actual tool names called |
| 402 | func getActualTools(response *models.ChatResponse) []string { |
no outgoing calls
no test coverage detected