Skip to main content

Interface: ParsedModelId

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

A model id split by the one id grammar core accepts.

Properties​

explicit​

explicit: boolean

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

True when the id named its provider (provider|id or provider:id).


modelId​

modelId: string

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

The id the provider is sent, with any routing prefix removed.


provider?​

optional provider?: ProviderName

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

Present only when the id routes unambiguously.