Won Park
45311351c2
Add opt-in retention for turn tool outputs ( #52686 )
...
## What changed
Add an optional `retain` flag to `TurnToolOutput` for `turn/start`. When set to `true`, pass the output to the core with a retention annotation to request retention in the thread's model history. The flag defaults to `false`, preserving existing behavior.
Update the generated JSON schemas, TypeScript types, and Python bindings to expose the flag.
## Testing
Add an integration test verifying that a retained tool output reaches the model and preserves client-authored sender metadata in persisted history, including the receiver message ID.
GitOrigin-RevId: 52893a8fcb308f26e77ba8f0bee9990073b26d54
2026-10-09 20:02:18 +00:00
..
2026-10-02 04:02:14 +00:00
2026-10-07 12:47:04 +00:00
2026-10-09 13:15:39 +00:00
2026-10-08 05:29:11 +00:00
2026-10-09 20:02:18 +00:00
2026-10-07 22:10:23 +00:00
2026-10-08 20:11:43 +00:00
2026-10-09 20:02:18 +00:00
2026-10-08 20:11:43 +00:00
2026-10-06 17:26:19 +00:00
2026-10-05 23:52:06 +00:00
2026-10-08 16:19:09 +00:00
2026-10-06 23:44:17 +00:00
2026-10-02 22:20:55 +00:00
2026-10-07 22:11:14 +00:00
2026-10-09 17:15:58 +00:00
2026-10-01 22:32:29 +00:00
2026-10-09 02:50:59 +00:00
2026-10-09 20:01:48 +00:00
2026-10-08 19:15:17 +00:00
2026-10-09 20:01:48 +00:00
2026-10-08 20:11:43 +00:00
2026-10-08 23:57:36 +00:00
2026-10-08 22:27:00 +00:00
2026-10-08 23:57:36 +00:00
2026-10-09 19:46:36 +00:00
2026-10-06 23:28:55 +00:00
2026-10-08 18:42:58 +00:00
2026-10-08 20:11:43 +00:00
2026-10-08 16:19:09 +00:00
2026-10-09 19:22:21 +00:00
2026-10-08 13:45:19 +00:00
2026-10-09 16:58:24 +00:00
2026-10-06 16:56:39 +00:00
2026-10-09 17:48:50 +00:00
2026-10-07 11:18:05 +00:00
2026-10-01 09:52:54 +00:00
2026-10-07 17:59:22 +00:00
2026-10-01 15:57:03 +00:00
2026-10-09 11:08:24 +00:00
2026-10-09 18:35:53 +00:00
2026-10-08 23:57:36 +00:00
2026-10-09 15:13:29 +00:00
2026-10-08 16:19:09 +00:00
2026-10-09 15:29:50 +00:00
2026-10-08 20:11:43 +00:00
2026-10-08 20:11:43 +00:00
2026-10-07 18:32:50 +00:00
2026-10-02 23:26:27 +00:00
2026-10-06 01:46:33 +00:00
2026-10-07 21:16:25 +00:00
2026-10-09 18:04:48 +00:00
2026-10-08 20:11:43 +00:00
2026-10-06 21:29:35 +00:00
2026-10-08 23:57:36 +00:00
2026-10-09 18:35:53 +00:00
2026-10-01 15:57:03 +00:00
2026-10-07 22:11:14 +00:00
2026-10-07 19:28:14 +00:00
2026-10-07 07:57:14 +00:00
2026-10-07 07:57:14 +00:00
2026-10-07 21:52:20 +00:00
2026-10-08 16:19:09 +00:00
2026-10-08 20:11:43 +00:00
2026-10-09 01:22:30 +00:00
2026-10-02 00:46:14 +00:00
2026-10-08 18:42:58 +00:00
2026-10-09 16:50:24 +00:00
2026-10-08 16:19:09 +00:00
2026-10-09 20:02:18 +00:00
2026-10-01 18:05:05 +00:00
2026-10-08 20:11:43 +00:00
2026-10-01 15:57:03 +00:00
2026-10-08 01:12:16 +00:00
2026-10-09 19:48:39 +00:00
2026-10-01 15:57:03 +00:00
2026-10-07 22:11:14 +00:00
2026-10-09 15:13:29 +00:00
2026-10-08 16:19:09 +00:00
2026-10-02 04:02:14 +00:00