You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Standard: a Responses call started in background mode is never billed, so the spending cap does not stop the run #683
P2 · Planned: limited in scope, has a way around it, or a missing feature
A placeholder: no bundled agent uses background mode. ARC Prize's harness does, for 24 of its OpenAI configurations.
Evidence
An upstream starts POST /responses with background: true, then polls GET /responses/<id>. The relay passes both.
The polled reply's usage is never priced. Under --max-usd 1 the run ends with spent_usd 0.0 and an unsettled hold, though its replies reported several times the cap.
The same replies without background mode: the run stops at the cap, each later call answered 402.
DELETE /responses/<id> is answered 501 by the relay itself.
Reproduction
A scripted provider that serves /responses in background mode, the usage on the polled reply.
standard run with --max-usd 1 on an upstream that calls it that way.
Expected
The polled reply is billed, the cap holds, and DELETE reaches the provider.
Acceptance
A background call's cost is in agent/calls.jsonl and in the ledger
Activity