Member Junction
    Preparing search index...

    Function ResolvePlatformAICredential

    • Resolves the most specific platform MJ Credential for the target: PromptModel bindings, then ModelVendor bindings, then Vendor bindings (each in binding priority order, failing over to the next binding when one cannot be resolved), then the vendor's default credential of its type.

      The value is the credential's values as JSON ({"apiKey":"…"} for an API Key credential) — the same string prompt drivers have always received from this tier.

      Parameters

      Returns Promise<string>

      The credential value, or undefined when no platform credential applies.