Luis Pater
94b164bf16
fix(antigravity): enforce short cooldowns, 429 bookkeeping, and schema sanitization in CountTokens
...
- Enforce active short-cooldown checks at CountTokens entry without credits bypass and share model-aware schema sanitization with buildRequestDoc before payload finalization.
- Route CountTokens HTTP 429 responses through shared 429 state bookkeeping with single idle-transport eviction per response and bound CountTokens response reads to 1 MiB.
- Add regression tests covering short-cooldown gating, 429 bookkeeping, bounded response reads, model schema sanitization, and payload-finalizer ordering.
Closes : #7786
2026-11-22 04:17:12 +08:00
..
2026-11-22 02:38:04 +08:00
2026-11-20 23:14:11 +08:00
2026-11-15 22:00:34 +08:00
2026-11-16 09:58:12 +08:00
2026-11-22 02:08:57 +08:00
2026-11-21 20:20:41 +08:00
2026-11-22 02:08:50 +08:00
2026-11-22 04:17:12 +08:00
2026-11-22 02:38:04 +08:00
2026-11-22 02:37:21 +08:00
2026-11-21 15:41:59 +08:00
2026-11-21 15:21:19 +08:00
2026-11-21 18:15:33 +08:00
2026-11-22 04:17:12 +08:00
2026-11-22 04:04:41 +08:00
2026-11-22 02:08:57 +08:00
2026-11-22 02:38:04 +08:00
2026-11-22 04:17:12 +08:00
2026-11-14 16:33:48 +08:00
2026-11-22 02:38:04 +08:00
2026-11-22 04:17:12 +08:00
2026-11-22 02:37:21 +08:00
2026-11-21 20:14:23 +08:00
2026-11-22 02:37:21 +08:00
2026-11-16 09:58:12 +08:00
2026-11-22 02:25:37 +08:00
2026-11-16 09:58:12 +08:00
2026-11-22 02:08:54 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-20 09:00:53 +08:00
2026-11-20 09:00:53 +08:00
2026-11-20 02:32:04 +08:00
2026-11-20 02:32:04 +08:00
2026-11-21 16:10:40 +08:00
2026-11-16 09:58:12 +08:00
2026-11-21 12:30:11 +08:00
2026-11-11 02:51:36 +08:00
2026-11-09 22:44:37 +08:00
2026-11-16 03:02:43 +08:00
2026-11-10 00:03:55 +00:00
2026-11-10 08:28:13 +08:00
2026-11-16 09:58:12 +08:00
2026-11-10 00:03:55 +00:00
2026-11-19 23:08:32 +08:00
2026-11-21 21:06:13 +08:00
2026-11-16 09:58:12 +08:00
2026-11-12 21:07:10 +08:00
2026-11-09 02:46:14 +08:00
2026-11-16 09:58:12 +08:00
2026-11-19 23:08:32 +08:00
2026-11-10 00:03:55 +00:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-12 21:07:10 +08:00
2026-11-12 21:07:10 +08:00
2026-11-19 23:08:32 +08:00
2026-11-16 09:58:12 +08:00
2026-11-19 23:08:32 +08:00
2026-11-10 00:03:55 +00:00
2026-11-16 09:58:12 +08:00
2026-11-22 02:25:37 +08:00
2026-11-16 03:02:43 +08:00
2026-11-11 11:37:35 +08:00
2026-11-16 10:31:56 +08:00
2026-11-19 23:08:32 +08:00
2026-11-16 22:06:14 +08:00
2026-11-16 22:06:14 +08:00
2026-11-07 12:19:47 +08:00
2026-11-16 09:58:12 +08:00
2026-11-15 22:32:47 +08:00
2026-11-16 09:58:12 +08:00
2026-11-10 19:33:26 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-07 01:57:53 +08:00
2026-11-10 19:22:38 +08:00
2026-11-17 15:13:51 +08:00
2026-11-19 08:23:04 +08:00
2026-11-10 04:00:28 +08:00
2026-11-19 02:53:40 +08:00
2026-11-12 18:09:32 +08:00
2026-11-07 01:57:53 +08:00
2026-11-19 08:23:04 +08:00
2026-11-16 09:58:12 +08:00
2026-11-07 01:23:36 +07:00
2026-11-07 01:23:01 +07:00
2026-11-16 09:58:12 +08:00
2026-11-16 12:28:56 +08:00
2026-11-19 08:23:04 +08:00
2026-11-16 19:21:23 +08:00
2026-11-21 21:46:59 +08:00
2026-11-19 21:10:33 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 19:21:23 +08:00
2026-11-16 17:14:51 +08:00
2026-11-11 17:49:05 +08:00
2026-11-19 08:23:04 +08:00
2026-11-16 09:58:12 +08:00
2026-11-10 19:22:38 +08:00
2026-11-19 02:53:40 +08:00
2026-11-16 12:28:56 +08:00
2026-11-10 19:22:38 +08:00
2026-11-19 08:23:04 +08:00
2026-11-16 19:21:23 +08:00
2026-11-19 08:23:04 +08:00
2026-11-17 15:13:51 +08:00
2026-11-19 08:23:04 +08:00
2026-11-19 08:23:04 +08:00
2026-11-19 08:23:04 +08:00
2026-11-19 08:23:04 +08:00
2026-11-20 23:14:11 +08:00
2026-11-21 17:11:35 +08:00
2026-11-21 21:46:59 +08:00
2026-11-20 23:14:11 +08:00
2026-11-21 17:11:35 +08:00
2026-11-20 23:14:11 +08:00
2026-11-21 12:14:05 +08:00
2026-11-21 17:11:35 +08:00
2026-11-21 17:11:35 +08:00
2026-11-21 17:11:35 +08:00
2026-11-21 17:11:35 +08:00
2026-11-21 21:46:59 +08:00
2026-11-14 16:33:48 +08:00
2026-11-21 21:26:02 +08:00
2026-11-11 18:02:32 +08:00
2026-11-21 21:26:02 +08:00
2026-11-13 00:33:01 +08:00
2026-11-15 22:00:34 +08:00
2026-11-15 22:00:34 +08:00
2026-11-15 16:30:38 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 03:02:43 +08:00
2026-11-16 03:02:43 +08:00
2026-11-14 00:50:21 +08:00
2026-11-14 14:30:19 +08:00
2026-11-15 22:00:34 +08:00
2026-11-12 21:07:10 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-17 15:34:36 +08:00
2026-11-11 08:46:36 +08:00
2026-11-20 19:19:24 +08:00
2026-11-20 18:20:36 +08:00
2026-11-16 09:58:12 +08:00
2026-11-10 16:39:16 +08:00
2026-11-21 15:41:59 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 22:06:14 +08:00
2026-11-17 15:09:01 +08:00
2026-11-17 22:44:03 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-11 03:31:39 +08:00
2026-11-11 03:31:39 +08:00
2026-11-16 22:06:14 +08:00
2026-11-16 12:28:56 +08:00
2026-11-11 03:31:39 +08:00
2026-11-11 03:31:39 +08:00
2026-11-17 15:13:51 +08:00
2026-11-16 22:06:14 +08:00
2026-11-22 03:31:21 +08:00
2026-11-22 03:31:21 +08:00