jif
632e35ce8d
Add a configurable skill catalog token budget ( #38978 )
...
## What changed
- Add `[skills].max_context_tokens` to override the token budget used to render the available-skills catalog.
- Require a positive value and cap configured budgets at 10,000 tokens.
- Preserve the existing default of 2% of the model context window when the option is unset.
## Testing
- Cover configuration parsing, override behavior, the 10,000-token cap, and catalog rendering within the configured budget.
GitOrigin-RevId: f29ddcb57fc2d800c0006d03e1c33cbe3ab6272d
2026-08-17 10:01:59 +00:00
..
2026-08-17 05:52:32 +00:00
2026-08-11 23:31:26 +00:00
2026-07-23 00:02:15 +00:00
2026-08-05 18:09:26 +00:00
2026-08-14 01:23:59 +00:00
2026-08-11 23:31:26 +00:00
2026-08-11 01:05:48 +00:00
2026-08-03 17:29:42 +00:00
2026-06-02 13:18:59 -07:00
2026-08-10 11:22:55 +00:00
2026-08-16 20:27:05 +00:00
2026-08-14 01:23:59 +00:00
2026-08-07 23:43:14 +00:00
2026-08-10 11:22:55 +00:00
2026-07-27 18:41:09 +00:00
2026-08-09 00:57:15 +00:00
2026-08-09 00:57:15 +00:00
2026-06-16 11:17:41 -04:00
2026-07-16 09:00:51 +00:00
2026-08-16 20:27:05 +00:00
2026-04-17 21:44:47 -07:00
2026-07-31 16:28:22 +00:00
2026-08-03 18:51:46 +00:00
2026-08-12 20:36:32 +00:00
2026-08-13 22:42:12 +00:00
2026-08-13 22:42:12 +00:00
2026-07-27 18:41:09 +00:00
2026-07-27 18:41:09 +00:00
2026-07-27 18:41:09 +00:00
2026-07-20 13:45:29 +00:00
2026-04-30 14:26:14 -07:00
2026-05-22 17:54:07 -07:00
2026-03-25 12:57:42 -07:00
2026-08-16 20:27:05 +00:00
2026-08-14 19:11:41 +00:00
2026-07-21 18:23:26 +00:00
2026-07-21 18:23:26 +00:00
2026-08-11 10:20:54 +00:00
2026-08-17 10:01:59 +00:00
2026-08-03 17:29:42 +00:00
2026-08-14 20:53:22 +00:00
2026-08-07 17:44:05 +00:00
2026-08-05 04:00:50 +00:00
2026-06-02 13:18:59 -07:00
2026-06-02 13:18:59 -07:00
2026-07-23 00:02:15 +00:00
2026-08-01 17:43:03 +00:00
2026-08-01 17:43:03 +00:00
2026-04-28 17:07:16 +02:00
2026-07-21 18:23:26 +00:00