MCPcopy Index your code
hub / github.com/Doorman11991/smallcode / getExecutorUrl

Function getExecutorUrl

src/model/chain.js:139–145  ·  view source on GitHub ↗

* Get the base URL for the executor, respecting chain config.

(config)

Source from the content-addressed store, hash-verified

137 * Get the base URL for the executor, respecting chain config.
138 */
139function 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.

Callers

nothing calls this directly

Calls 1

getChainConfigFunction · 0.85

Tested by

no test coverage detected