Alex Kira
c3936b4b8a
Allow model overrides for incremental Code Mode tool messages ( #60188 )
...
## What changed
Add `exec_tools_update_hint` and `exec_tools_removed_definitions_header` to `model_messages.tools.incremental_tools` and use them when rendering Code Mode catalog updates and removals.
Overrides are literal strings limited to 512 UTF-8 bytes per field. Missing, null, or oversized values use the existing bundled wording. Empty strings omit the guidance while retaining changed definitions and removal keys. Wording changes alone do not trigger catalog updates.
## Testing
Extend unit coverage for defaults, null fields, independent fallback, and UTF-8 byte limits. Add scenario assertions and a snapshot covering custom and empty wording, model switches, catalog changes, and restoration after compaction.
GitOrigin-RevId: da9e00fdb5197a2b5fa39ce533ba87c76ff3e82c
2026-11-08 01:13:32 +00:00
..
2026-11-05 11:22:06 +00:00
2026-10-29 17:25:51 +00:00
2026-11-03 15:02:57 +00:00
2026-11-03 12:33:26 +00:00
2026-11-05 16:08:23 +00:00
2026-11-07 01:25:00 +00:00
2026-11-07 23:51:58 +00:00
2026-11-07 04:48:30 +00:00
2026-11-03 04:20:50 +00:00
2026-11-07 21:31:08 +00:00
2026-11-02 16:00:20 +00:00
2026-11-07 10:41:36 +00:00
2026-11-02 17:05:56 +00:00
2026-11-04 00:19:12 +00:00
2026-11-07 10:41:36 +00:00
2026-11-05 22:03:29 +00:00
2026-11-07 02:39:03 +00:00
2026-11-07 04:48:30 +00:00
2026-11-05 04:25:19 +00:00
2026-11-05 05:09:32 +00:00
2026-11-05 05:09:32 +00:00
2026-11-06 01:49:33 +00:00
2026-11-06 01:49:33 +00:00
2026-11-07 18:24:25 +00:00
2026-10-29 01:04:48 +00:00
2026-11-07 09:48:46 +00:00
2026-11-07 02:28:44 +00:00
2026-11-07 23:18:39 +00:00
2026-10-30 20:39:47 +00:00
2026-11-07 05:59:44 +00:00
2026-11-08 01:13:32 +00:00
2026-11-05 22:49:46 +00:00
2026-11-07 03:08:46 +00:00
2026-11-03 23:49:01 +00:00
2026-11-03 04:08:59 +00:00
2026-11-07 02:39:03 +00:00
2026-11-07 02:46:41 +00:00
2026-11-05 04:25:19 +00:00
2026-10-27 23:53:09 +00:00
2026-11-05 00:55:46 +00:00
2026-11-07 07:45:36 +00:00
2026-11-06 07:43:44 +00:00
2026-11-07 02:37:50 +00:00
2026-11-05 17:34:20 +00:00
2026-11-06 00:37:27 +00:00
2026-11-04 09:51:28 +00:00
2026-11-06 12:49:54 +00:00
2026-11-06 19:29:06 +00:00
2026-11-06 04:24:04 +00:00
2026-11-05 20:56:09 +00:00
2026-11-06 04:33:14 +00:00
2026-11-07 05:50:00 +00:00
2026-11-06 22:26:03 +00:00
2026-11-02 20:34:35 +00:00
2026-11-07 10:41:36 +00:00
2026-11-06 04:24:04 +00:00
2026-11-07 03:16:52 +00:00
2026-11-03 23:00:54 +00:00
2026-11-07 03:06:33 +00:00
2026-11-07 22:38:11 +00:00
2026-10-27 16:36:32 +00:00
2026-11-08 01:13:32 +00:00
2026-11-08 01:13:32 +00:00
2026-11-07 09:48:46 +00:00
2026-11-07 00:18:36 +00:00
2026-11-07 17:31:27 +00:00
2026-11-07 12:41:14 +00:00
2026-11-07 10:41:36 +00:00
2026-11-07 02:46:41 +00:00
2026-11-04 23:46:52 +00:00
2026-11-06 17:47:31 +00:00
2026-11-06 22:45:37 +00:00
2026-10-30 07:11:56 +00:00
2026-11-05 13:38:12 +00:00
2026-11-07 21:31:08 +00:00
2026-11-07 18:24:25 +00:00
2026-11-07 23:51:58 +00:00
2026-11-06 21:03:03 +00:00
2026-10-30 16:35:54 +00:00
2026-11-04 09:51:28 +00:00
2026-11-03 15:02:57 +00:00
2026-11-05 21:33:57 +00:00
2026-11-05 21:33:57 +00:00
2026-11-04 00:52:58 +00:00
2026-10-28 21:09:05 +00:00
2026-11-07 10:41:36 +00:00
2026-11-07 01:37:46 +00:00
2026-11-05 11:22:06 +00:00