(humanInTheLoopTool: HumanInTheLoopConfig)
| 495 | } |
| 496 | |
| 497 | addHumanInTheLoop(humanInTheLoopTool: HumanInTheLoopConfig): void { |
| 498 | this.#humanInTheLoopToolRenderConfigs.update((current) => [ |
| 499 | ...current, |
| 500 | humanInTheLoopTool, |
| 501 | ]); |
| 502 | |
| 503 | const tool = this.#bindHumanInTheLoopTool(humanInTheLoopTool); |
| 504 | |
| 505 | this.core.addTool(tool); |
| 506 | } |
| 507 | |
| 508 | addSuggestionsConfig(config: SuggestionsConfig): string { |
| 509 | return this.core.addSuggestionsConfig(config); |
no test coverage detected