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-05 18:52:51 +00:00
2026-10-14 06:03:02 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-21 18:37:30 +00:00
2026-10-22 21:01:14 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-09-10 21:41:39 +00:00
2026-10-05 18:52:51 +00:00
2026-09-12 05:04:11 +00:00
2026-09-12 05:04:11 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-04-12 11:59:09 -07:00
2026-10-05 18:52:51 +00:00
2026-10-19 20:30:44 +00:00
2026-10-08 17:25:39 +00:00
2026-10-13 10:42:06 +00:00
2026-09-30 17:33:59 +00:00
2026-10-22 12:46:24 +00:00
2026-10-06 10:39:16 +00:00
2026-10-05 18:52:51 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 12:46:24 +00:00
2026-10-23 00:40:04 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 12:46:24 +00:00
2026-10-05 18:52:51 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 12:46:24 +00:00
2026-10-05 18:52:51 +00:00
2026-10-23 00:46:28 +00:00
2026-10-22 01:54:51 +00:00
2026-10-22 01:54:51 +00:00
2026-10-22 12:46:24 +00:00
2026-10-05 18:52:51 +00:00
2026-10-19 20:01:37 +00:00
2026-10-20 11:56:17 +00:00
2026-10-06 19:30:57 +00:00
2026-10-03 07:37:00 +00:00
2026-10-05 18:52:51 +00:00
2026-10-08 20:04:38 +00:00
2026-10-07 15:47:21 +00:00
2026-10-08 22:01:24 +00:00
2026-10-10 01:14:28 +00:00
2026-10-08 22:01:24 +00:00
2026-10-14 05:36:44 +00:00
2026-10-20 05:25:43 +00:00
2026-10-08 22:01:24 +00:00
2026-10-08 22:01:24 +00:00
2026-10-17 04:02:21 +00:00
2026-10-08 03:20:54 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-06 03:27:04 +00:00
2026-10-06 03:27:04 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 12:46:24 +00:00
2026-10-21 10:40:59 +00:00
2026-10-22 12:46:24 +00:00
2026-10-16 16:40:17 +00:00
2026-10-16 16:40:17 +00:00
2026-10-05 18:52:51 +00:00
2026-10-14 05:36:44 +00:00
2026-10-22 22:44:48 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 12:46:24 +00:00
2026-10-05 18:52:51 +00:00
2026-10-06 03:27:04 +00:00
2026-10-06 10:56:45 +00:00
2026-10-09 11:08:24 +00:00
2026-10-08 00:09:03 +00:00
2026-10-22 12:46:24 +00:00
2026-10-06 10:39:16 +00:00
2026-10-05 18:52:51 +00:00
2026-10-07 01:28:59 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 12:46:24 +00:00
2026-10-05 18:52:51 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 12:46:24 +00:00
2026-10-22 12:46:24 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-17 04:02:21 +00:00
2026-09-04 10:22:43 +00:00