Skip to content

Interface: ProviderIdentity

@providerprotocol/ai


@providerprotocol/ai / @providerprotocol/ai / ProviderIdentity

Defined in: src/types/provider.ts:127

Provider identity shape for structural typing.

Used in model input types to accept any provider instance without generic variance constraints.

readonly name: string

Defined in: src/types/provider.ts:129

Provider name (e.g., ‘openai’, ‘anthropic’)


readonly version: string

Defined in: src/types/provider.ts:132

Provider version string