| hal_usage | R Documentation |
Tallies hal() turns by model and, when tier info is available, computes
cumulative Copilot billing units. Usage is tracked per session in memory
and cleared by hal_reset().
hal_usage(tiers = NULL)
tiers |
Optional named character vector mapping |
A hal_usage data frame with columns model, turns, tier,
units (numeric tier × turns, NA if tier unknown). Prints a compact
summary including the session total.
## Not run:
hal("hello")
hal("follow-up", model = "gpt-4.1")
hal_usage()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.