dhruvgupta-oai
577a4fcd06
Extend rate limit reads with usage capabilities ( #42358 )
...
## What changed
- Accept optional `account/rateLimits/read` capabilities for Luna Reserve support
and lightweight background polling while preserving omitted and `null` params.
- Forward the Luna Reserve capability only for eligible ChatGPT sessions, and let
lightweight polls skip the separate reset-credit detail request.
- Return the backend's `ordinaryUsageAllowed` decision only when its account and
user identity match the active session.
## Testing
- Cover capability defaults, eligible and restricted authentication modes,
lightweight polling, identity filtering, and backend permission handling.
GitOrigin-RevId: f407a3ae1e70e411fdf245f072a16e453f59cd87
2026-09-02 21:01:04 +00:00
..
2026-08-13 00:30:08 +00:00
2026-08-24 21:39:48 +00:00
2026-09-01 22:02:42 +00:00
2026-08-17 12:26:59 +00:00
2026-08-24 21:39:48 +00:00
2026-08-10 22:39:29 +00:00
2026-08-21 19:04:32 +00:00
2026-07-09 00:17:38 +00:00
2026-08-24 21:39:48 +00:00
2026-09-01 07:32:54 +00:00
2026-08-29 03:04:26 +00:00
2026-07-08 00:15:49 +00:00
2026-08-21 20:15:23 +00:00
2026-09-01 05:17:11 +00:00
2026-08-21 19:56:52 +00:00
2026-09-01 13:07:56 +00:00
2026-05-28 14:54:39 -07:00
2026-09-02 18:18:54 +00:00
2026-08-27 08:44:54 +00:00
2026-08-13 21:53:52 +00:00
2026-08-25 19:54:52 +00:00
2026-08-27 00:02:26 +00:00
2026-07-22 16:30:12 +00:00
2026-07-15 05:21:13 +00:00
2026-08-24 06:43:07 +00:00
2026-07-14 01:49:16 +00:00
2026-06-27 19:34:10 +00:00
2026-08-24 06:43:07 +00:00
2026-08-24 23:00:57 +00:00
2026-08-25 17:55:50 +00:00
2026-08-17 12:26:59 +00:00
2026-09-02 02:09:35 +00:00
2026-07-31 16:17:44 +00:00
2026-09-01 16:49:16 +00:00
2026-07-08 00:15:49 +00:00
2026-08-25 19:10:35 +00:00
2026-09-02 14:57:34 +00:00
2026-09-02 10:32:22 +00:00
2026-09-02 09:12:17 +00:00
2026-09-01 18:02:27 +00:00
2026-07-15 20:59:21 +00:00
2026-08-25 21:38:10 +00:00
2026-08-04 15:23:43 +00:00
2026-09-02 21:01:04 +00:00
2026-07-23 15:32:36 +00:00
2026-08-25 19:38:39 +00:00
2026-09-01 22:37:26 +00:00
2026-08-20 17:49:35 +00:00
2026-08-18 18:01:39 +00:00
2026-08-27 20:05:08 +00:00
2026-09-01 22:16:54 +00:00
2026-08-25 20:26:23 +00:00
2026-09-02 10:32:22 +00:00
2026-07-23 19:19:35 +00:00
2026-08-26 18:42:44 +00:00
2026-09-02 21:01:04 +00:00
2026-08-18 06:22:04 +00:00
2026-08-14 05:49:33 +00:00
2026-08-14 01:23:59 +00:00
2026-08-24 20:47:10 +00:00
2026-08-07 00:28:32 +00:00
2026-07-22 16:30:12 +00:00
2026-07-22 16:30:12 +00:00
2026-07-22 16:30:12 +00:00
2026-08-25 20:26:23 +00:00
2026-09-01 20:18:10 +00:00
2026-08-28 00:07:32 +00:00
2026-09-01 00:50:11 +00:00
2026-09-01 16:58:54 +00:00
2026-07-29 01:16:29 +00:00
2026-08-12 13:33:01 +00:00
2026-08-08 16:58:26 +00:00
2026-08-27 23:43:46 +00:00
2026-07-22 16:30:12 +00:00
2026-09-02 21:01:04 +00:00
2026-09-01 20:41:32 +00:00
2026-08-18 05:42:39 +00:00
2026-09-02 18:42:06 +00:00
2026-08-25 19:10:35 +00:00
2026-09-02 17:27:50 +00:00
2026-08-20 07:03:02 +00:00
2026-08-20 19:19:41 +00:00
2026-08-20 07:33:27 +00:00
2026-08-25 19:10:35 +00:00
2026-08-25 18:14:32 +00:00
2026-08-26 18:42:44 +00:00
2026-08-25 16:47:13 +00:00
2026-08-20 08:10:08 +00:00
2026-08-07 18:38:24 +00:00
2026-07-22 16:30:12 +00:00
2026-09-02 14:14:44 +00:00
2026-08-28 12:40:10 +00:00
2026-08-23 03:25:56 +00:00
2026-07-23 23:18:06 +00:00
2026-09-01 21:03:30 +00:00
2026-09-02 18:52:44 +00:00
2026-09-01 22:56:18 +00:00
2026-07-22 16:30:12 +00:00
2026-07-23 19:19:35 +00:00
2026-09-01 22:56:18 +00:00
2026-05-12 18:40:53 -07:00
2026-09-01 22:56:18 +00:00
2026-09-02 02:09:35 +00:00
2026-09-02 15:07:11 +00:00
2026-08-29 19:57:06 +00:00
2026-09-01 22:56:18 +00:00
2026-08-10 23:32:42 +00:00
2026-09-01 22:56:18 +00:00
2026-08-28 18:07:40 +00:00
2026-09-01 22:56:18 +00:00
2026-08-20 07:03:02 +00:00
2026-08-25 01:03:20 +00:00
2026-08-10 23:32:42 +00:00
2026-09-02 18:18:54 +00:00
2026-09-01 00:30:55 +00:00
2026-08-20 17:46:05 +00:00
2026-09-01 19:19:52 +00:00
2026-08-20 18:29:35 +00:00
2026-09-01 07:32:54 +00:00
2026-08-20 17:46:05 +00:00
2026-08-27 08:44:54 +00:00
2026-07-23 00:02:15 +00:00
2026-07-08 00:15:49 +00:00