( toolName: string, agents: readonly ToolsConfigCarrier[], maxDepth = 10 )
| 92 | } |
| 93 | |
| 94 | export function isToolEnabledInResolvedChain( |
| 95 | toolName: string, |
| 96 | agents: readonly ToolsConfigCarrier[], |
| 97 | maxDepth = 10 |
| 98 | ): boolean { |
| 99 | return isToolEnabledByConfigs(toolName, collectToolConfigsFromResolvedChain(agents, maxDepth)); |
| 100 | } |
| 101 | |
| 102 | export function isPlanLikeInResolvedChain( |
| 103 | agents: readonly ToolsConfigCarrier[], |
no test coverage detected