Expand description
wave Dispatch — thin Rust client. Route each request to the cheapest capable model (local-first; escalate to your frontier only when needed). BYO keys + infra; the service returns a routing decision.
Structs§
Type Aliases§
- Payment
Hook - 0.5.1 — payment hook: called once with the 402 challenge body, returns headers to retry the
request with (e.g.
{"x-payment": "..."}for x402,{"tempo-payment": "..."}for tempo). Pair withDispatch::wallet_hook(provider, credentials)for the built-in CDP / Privy / Bridge factories, or build a closure yourself for any custom wallet stack.