Interface ChatProviderInfo

Info about the provider the host resolved for this app. null when no provider is bound (SP-7: prompt the user to add a key before calling chat).

interface ChatProviderInfo {
    features: ChatFeatures;
    hostVouched: boolean;
    providerId: string;
}

Properties

features: ChatFeatures
hostVouched: boolean

True for Host-proxied providers (host-vouched, SP-9); false for app-level ones, whose features are an untrusted claim.

providerId: string

Opaque provider id, e.g. llm.chat.anthropic — never a vendor secret or model id.