* Get the base URL for the executor, respecting chain config.
(config)
| 137 | * Get the base URL for the executor, respecting chain config. |
| 138 | */ |
| 139 | function getExecutorUrl(config) { |
| 140 | const chain = getChainConfig(); |
| 141 | if (!chain.enabled || !chain.executorUrl) { |
| 142 | return config.model.baseUrl || chain.baseUrl; |
| 143 | } |
| 144 | return chain.executorUrl; |
| 145 | } |
| 146 | |
| 147 | /** |
| 148 | * Format a planner-produced plan for injection into the system prompt. |
nothing calls this directly
no test coverage detected