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
* Add rate limit handling: parse 429 response body and expose rate limit headers
TangoRateLimitError now exposes wait_in_seconds, detail, and limit_type
properties from the API's 429 response. TangoClient parses X-RateLimit-*
headers on every response and exposes them via the rate_limit_info property.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Bump to v0.4.3 with changelog for rate limit handling
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [0.4.3] - 2026-03-21
11
+
12
+
### Added
13
+
-`TangoRateLimitError` now exposes `wait_in_seconds`, `detail`, and `limit_type` properties parsed from the API's 429 response body.
14
+
-`RateLimitInfo` dataclass for structured access to rate limit headers (`X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset`, and per-window daily/burst variants).
15
+
-`TangoClient.rate_limit_info` property returns rate limit info from the most recent API response.
16
+
17
+
### Changed
18
+
-`_request` now passes the full 429 response body to `TangoRateLimitError` (previously discarded), enabling callers to access `wait_in_seconds` and the specific limit type that was exceeded.
0 commit comments