Skip to main content

Crate wave_dispatch

Crate wave_dispatch 

Source
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§

Dispatch

Type Aliases§

PaymentHook
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 with Dispatch::wallet_hook(provider, credentials) for the built-in CDP / Privy / Bridge factories, or build a closure yourself for any custom wallet stack.