jif
12c115d558
Reduce cloning when building Responses requests ( #34825 )
...
## Why
Preparing Responses API requests rebuilt tool definitions as a generic JSON
tree, and incremental WebSocket requests cloned their full item prefix for
comparison.
## What changed
- Serialize tool definitions into shared raw JSON that can be embedded directly
in HTTP and WebSocket requests.
- Compare incremental request prefixes in place while still ignoring internal
message metadata.
## Testing
- Verify raw tool JSON matches the existing value encoding.
- Preserve the serialized WebSocket request payload.
GitOrigin-RevId: 66e2921792c332e8904954dafa597f6d39abcf29
2026-07-22 21:00:01 +00:00
..
2026-07-02 10:59:00 -07:00
2026-07-21 22:44:43 +00:00
2026-07-21 02:59:22 +00:00
2026-07-22 20:23:35 +00:00
2026-07-22 14:50:13 +00:00
2026-07-21 08:50:21 +00:00
2026-07-22 19:43:35 +00:00
2026-07-14 21:54:24 +00:00
2026-07-22 14:16:51 +00:00
2026-07-22 02:19:45 +00:00
2026-07-21 08:59:41 +00:00
2026-07-21 15:00:18 +00:00
2026-07-20 22:06:50 +00:00
2026-07-22 20:23:35 +00:00
2026-07-22 02:26:16 +00:00
2026-07-22 01:35:06 +00:00
2026-07-21 08:28:51 +00:00
2026-07-18 23:22:13 +00:00
2026-07-06 16:26:56 -07:00
2026-07-21 02:07:13 +00:00
2026-07-22 21:00:01 +00:00
2026-07-07 13:00:44 -07:00
2026-07-07 01:12:24 +00:00
2026-07-22 11:13:09 +00:00
2026-07-21 19:08:58 +00:00
2026-07-21 18:23:26 +00:00
2026-07-22 21:00:01 +00:00
2026-07-14 17:10:04 +00:00
2026-07-22 01:20:13 +00:00
2026-07-22 00:50:28 +00:00
2026-07-22 15:41:47 +00:00
2026-07-22 16:22:34 +00:00
2026-07-21 21:54:31 +00:00
2026-07-20 06:13:29 +00:00
2026-07-22 20:23:35 +00:00
2026-07-21 02:55:11 +00:00
2026-07-22 12:44:31 +00:00
2026-07-22 16:50:09 +00:00
2026-07-21 19:17:18 +00:00
2026-07-22 02:19:45 +00:00
2026-07-20 20:06:58 +00:00
2026-07-22 04:17:34 +00:00
2026-07-08 12:17:58 -04:00
2026-07-22 00:31:30 +00:00
2026-07-22 04:17:34 +00:00
2026-07-22 02:26:16 +00:00
2026-07-22 20:23:35 +00:00
2026-07-22 19:31:54 +00:00
2026-07-17 20:52:42 +00:00
2026-07-22 02:26:16 +00:00
2026-07-16 21:41:00 +00:00
2026-07-22 06:09:10 +00:00
2026-07-22 00:31:30 +00:00
2026-07-20 16:25:57 +00:00
2026-07-22 19:14:11 +00:00
2026-07-22 19:43:35 +00:00
2026-07-17 21:20:14 +00:00
2026-07-22 18:45:47 +00:00
2026-07-20 23:30:30 +00:00
2026-07-21 21:06:04 +00:00
2026-07-16 01:12:14 +00:00
2026-06-25 13:56:08 -07:00
2026-07-20 23:22:48 +00:00
2026-07-22 18:45:47 +00:00
2026-07-22 19:31:54 +00:00
2026-07-22 18:45:47 +00:00
2026-07-22 21:00:01 +00:00
2026-07-22 18:45:47 +00:00
2026-07-22 02:19:45 +00:00
2026-07-22 16:18:08 +00:00
2026-07-21 00:33:04 +00:00
2026-07-21 22:36:18 +00:00
2026-07-09 17:31:44 -07:00
2026-07-22 20:23:35 +00:00
2026-07-22 20:23:35 +00:00
2026-07-11 03:27:51 +00:00
2026-07-22 04:17:34 +00:00