(name: string)
| 58 | } |
| 59 | |
| 60 | function getExecutor(name: string) { |
| 61 | const { tools } = makeTools(); |
| 62 | const tool = tools.find((t) => t.definition.name === name); |
| 63 | if (!tool) throw new Error(`Tool ${name} not found`); |
| 64 | return tool.executor; |
| 65 | } |
| 66 | |
| 67 | describe("createTabTools", () => { |
| 68 | it("should create 5 tools", () => { |
no test coverage detected