Documentation
¶
Overview ¶
Package failapi is the injected-failure half of a fault-injection stand-in for the Anthropic API: every request it serves gets one status, an Anthropic-shaped error body and any extra response headers. The rig's failproxy binary and the canary's zero-token failure runs both serve it, so the error body is written in exactly one place.
It never reads request headers: pointed at by ANTHROPIC_BASE_URL under subscription OAuth, the Authorization header on every request carries a live token.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.