contracts: sync from InferenceInfra (context_length_exceeded)

Merged
SH
20d ago
+14-6

Sync with InferenceInfra development 5a4af2ce, which adds the public error code context_length_exceeded (InferenceInfra #6134).

FileChange
contracts/wally-cli-v1.openapi.jsonsynced (sync_from_inferenceinfra.py --from)
contracts/wally-decisions-public-v1.openapi.jsonvendored byte for byte
src/account/console_contract.rs, decisions_contract.rsregenerated, one new ErrorCode variant each

No behaviour change. sync_from_inferenceinfra.py --check: lock OK. InferenceInfra's check_consumer_impact.py --against-wally-pin against this branch: none.

šŸ¤– Generated with Claude Code


Summary by cubic

Syncs the Wally contracts with InferenceInfra 5a4af2ce to add the public error code context_length_exceeded. This updates wally-cli-v1.openapi.json and wally-decisions-public-v1.openapi.json, and regenerates the Rust bindings so both gain a new ErrorCode variant.

No behavior change: the CLI only parses and compares codes and already drops unknown decisions codes. The sync_from_inferenceinfra.py --check lock is OK.

Summary by CodeRabbit

  • API Updates
    • Added context_length_exceeded as a recognized error code.
    • Clarified that rate limits may apply per key or account. Capacity and overload responses use HTTP 503 and include Retry-After on every route.