(tools []fantasy.AgentTool, name string)
| 421 | } |
| 422 | |
| 423 | func findTool(tools []fantasy.AgentTool, name string) fantasy.AgentTool { |
| 424 | for _, t := range tools { |
| 425 | if t.Info().Name == name { |
| 426 | return t |
| 427 | } |
| 428 | } |
| 429 | return nil |
| 430 | } |
| 431 | |
| 432 | // TestConnectAll_DisabledServer verifies that disabled configs are |
| 433 | // silently skipped. |
no test coverage detected