AAI SDK
    Preparing search index...

    Function requiredProviderEnvVars

    • The provider credentials an agent actually needs, derived from the same registries that resolve them.

      Callers that want to check credentials up front (the CLI dev server) would otherwise hardcode kind === "assemblyai"-style checks, which go stale on every new provider and are easy to write incompletely — the previous version ignored tts and s2s entirely, so a Deepgram+Anthropic+Rime agent was never told which of its three keys was missing and failed at first session.

      Parameters

      • agent: {
            llm?: object | { kind: string };
            s2s?: object | { kind: string };
            stt?: object | { kind: string };
            tts?: object | { kind: string };
        }

      Returns string[]