Skip to main content

Function: formatAmbiguousProviderError()

formatAmbiguousProviderError(modelId): string

Defined in: packages/core/src/providers/registry.ts:131

Human-readable guidance when a model id cannot be routed unambiguously.

We deliberately do not guess (llama → ollama, bare :cloud → …): that class of silent mis-routing billed the wrong provider in production. Callers must pick a provider explicitly.

Exported so hosts (CLI, UI) can surface the same copy without reimplementing it.

Parameters

modelId

string

Returns

string