Member Junction
    Preparing search index...

    Type Alias AICredentialSource

    AICredentialSource: "Runtime" | "PlatformCredential" | "Environment"

    Where a credential comes from, from the point of view of the run spending it.

    • 'Runtime': supplied by the caller for this run — apiKeys, or a prompt's per-request credentialId.
    • 'PlatformCredential': MJ Credentials the platform configured — AICredentialBindings on the prompt-model, model-vendor or vendor, and a vendor's default credential.
    • 'Environment': the platform's AI_VENDOR_API_KEY__<DRIVER> keys, and any host seam whose default is them (a registered AIAPIKeys subclass, RealtimeClientSessionService.getAPIKeyForDriver).