#!/usr/bin/env node /** * The base URL to inherit from config, if any of it applies to the provider actually in use. * * A base URL is not a free-standing setting: it is the address of one particular provider. When * `~/.koneckrc` pointed at a local OmniRoute and the command line said `-p ollama`, the request * went to OmniRoute's port under Ollama's name and came back "Unable to determine provider for * model 'qwen2.5-coder:1.5b'" — an error about the wrong host entirely, and one that reads like * a problem with the model. * * So an inherited base URL is used only when the layer that set it agrees about the provider, or * when the provider was not overridden on the command line at all. `--base-url` always wins, * because that is someone saying exactly what they want. */ export declare function inheritBaseURL(layers: ReadonlyArray<{ provider?: string; baseURL?: string; }>, effectiveProvider: string, providerNamedOnCli: boolean): string | undefined; //# sourceMappingURL=index.d.ts.map