Skip to main content

billing_use

Function billing_use 

Source
pub fn billing_use(
    billing: &ResolvedBilling,
    mode: &ResolvedMode,
    agent: Agent,
) -> BillingUse
Expand description

Whether billing can be used in mode with agent. subscription needs the gateway (hooks have no gateway key to pay or not pay with) and Claude Code; under a direct policy the setting is simply unused.