contracts: sync from InferenceInfra (context_length_exceeded)
Merged
SH
20d ago+14+14+01234567890123456789-6-6-0123456789
Sync with InferenceInfra development 5a4af2ce, which adds the public error code context_length_exceeded (InferenceInfra #6134).
| File | Change |
|---|---|
contracts/wally-cli-v1.openapi.json | synced (sync_from_inferenceinfra.py --from) |
contracts/wally-decisions-public-v1.openapi.json | vendored byte for byte |
src/account/console_contract.rs, decisions_contract.rs | regenerated, 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_exceededas a recognized error code. - Clarified that rate limits may apply per key or account. Capacity and overload responses use HTTP 503 and include
Retry-Afteron every route.
- Added