rhan-oai
e103bbc06f
Apply model catalog overrides to history, notes, and context tools ( #56313 )
...
## What changed
- Read optional tool descriptions and parameter schemas for `history`, `notes`, `new_context`, and `get_context_remaining` from the acting model's catalog messages.
- Support catalog namespace descriptions for history and notes, preserving explicit empty and whitespace descriptions.
- Share catalog override handling across native tools and MCP resource helpers. Keep bundled schemas when overrides are invalid, preserve encrypted parameters, and leave tool identity and transport fields unchanged.
## Testing
Add coverage for sparse catalog serialization, schema fallback and encryption preservation, per-step tool definitions, and context tool updates when switching models. Extend outgoing-request tests to verify history and notes overrides while retaining history image attachments.
GitOrigin-RevId: 1adac8b5009f95c91adba491f20a4e2e2dc91475
2026-10-23 00:46:28 +00:00
..
2026-10-21 21:50:55 +00:00
2026-10-14 07:13:22 +00:00
2026-10-20 21:28:45 +00:00
2026-10-21 19:34:51 +00:00
2026-10-21 09:54:36 +00:00
2026-10-22 22:33:07 +00:00
2026-10-22 01:14:34 +00:00
2026-10-21 19:06:57 +00:00
2026-10-22 21:01:14 +00:00
2026-10-08 20:11:43 +00:00
2026-10-20 15:43:19 +00:00
2026-10-12 11:24:22 +00:00
2026-10-16 23:56:33 +00:00
2026-10-15 19:51:22 +00:00
2026-10-22 19:36:47 +00:00
2026-10-20 15:43:19 +00:00
2026-10-07 22:11:14 +00:00
2026-10-20 15:43:19 +00:00
2026-10-23 00:45:20 +00:00
2026-10-22 23:38:09 +00:00
2026-10-20 15:43:19 +00:00
2026-10-21 21:46:56 +00:00
2026-10-20 18:53:06 +00:00
2026-10-20 21:28:45 +00:00
2026-10-20 21:28:45 +00:00
2026-10-21 21:05:08 +00:00
2026-10-19 21:43:19 +00:00
2026-10-22 22:33:07 +00:00
2026-10-23 00:02:29 +00:00
2026-10-16 19:26:46 +00:00
2026-10-17 04:02:21 +00:00
2026-10-23 00:46:28 +00:00
2026-10-20 14:14:59 +00:00
2026-10-19 15:15:17 +00:00
2026-10-22 22:44:48 +00:00
2026-10-20 21:28:45 +00:00
2026-10-21 22:49:54 +00:00
2026-10-08 20:11:43 +00:00
2026-10-22 21:01:14 +00:00
2026-10-22 23:48:20 +00:00
2026-10-22 11:52:34 +00:00
2026-10-23 00:46:28 +00:00
2026-10-20 21:28:45 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 19:36:47 +00:00
2026-10-22 19:36:47 +00:00
2026-10-21 19:53:00 +00:00
2026-10-13 17:22:34 +00:00
2026-10-19 15:15:41 +00:00
2026-10-21 18:14:58 +00:00
2026-10-21 02:41:05 +00:00
2026-10-23 00:09:23 +00:00
2026-10-22 01:07:13 +00:00
2026-10-22 19:36:47 +00:00
2026-10-20 16:25:02 +00:00
2026-10-22 09:37:28 +00:00
2026-10-22 16:26:03 +00:00
2026-10-22 19:36:47 +00:00
2026-10-21 19:37:29 +00:00
2026-10-22 19:36:47 +00:00
2026-10-22 22:44:48 +00:00
2026-10-22 21:01:14 +00:00
2026-10-23 00:40:04 +00:00
2026-10-19 20:54:41 +00:00
2026-10-23 00:01:18 +00:00
2026-10-20 22:34:40 +00:00
2026-10-06 21:29:35 +00:00
2026-10-23 00:46:28 +00:00
2026-10-23 00:46:28 +00:00
2026-10-10 02:54:59 +00:00
2026-10-12 18:53:49 +00:00
2026-10-19 16:56:42 +00:00
2026-10-22 23:14:44 +00:00
2026-10-22 09:20:00 +00:00
2026-10-23 00:45:20 +00:00
2026-10-20 17:29:40 +00:00
2026-10-20 21:28:45 +00:00
2026-10-20 21:28:45 +00:00
2026-10-22 04:59:19 +00:00
2026-10-20 21:28:45 +00:00
2026-10-19 21:01:44 +00:00
2026-10-21 19:53:00 +00:00
2026-10-22 00:19:02 +00:00
2026-10-12 17:52:12 +00:00
2026-10-15 19:01:43 +00:00
2026-10-22 17:15:06 +00:00
2026-10-23 00:46:28 +00:00
2026-10-23 00:29:14 +00:00
2026-10-13 22:40:57 +00:00
2026-10-22 19:36:47 +00:00
2026-10-16 06:06:54 +00:00
2026-10-22 17:42:21 +00:00
2026-10-20 21:28:45 +00:00
2026-10-22 19:36:47 +00:00
2026-10-22 17:02:32 +00:00
2026-10-20 14:48:59 +00:00
2026-10-07 22:11:14 +00:00
2026-10-23 00:46:28 +00:00
2026-10-21 22:49:54 +00:00
2026-10-20 11:55:08 +00:00
2026-10-20 21:28:45 +00:00