Learn R Programming

aisdk (version 1.1.0)

has_api_key: Check if specific provider key is available

Description

Check if specific provider key is available

Usage

has_api_key(provider)

Value

TRUE if key is available and valid

Arguments

provider

Provider name ("openai" or "anthropic")