Skip to contents

Reads GET /health of a running rtemis-afm bridge and returns its body: status, version, and model, which carries the served model's id, name, availability ("available" or "unavailable"), reason when unavailable ("deviceNotEligible", "appleIntelligenceNotEnabled", or "modelNotReady"), and context_window in tokens.

Usage

apple_health(base_url = APPLE_URL_DEFAULT)

Arguments

base_url

Character: Base URL of the bridge's OpenAI-compatible wire. The health endpoint is read from the same server, beside /v1.

Value

Named list: The parsed health response.

Author

EDG

Examples

# Requires a running rtemis-afm bridge
if (FALSE) { # \dontrun{
  apple_health()
} # }