chess
113e0c6d5e
Allow per-subagent service tiers in spawn_agent ( #63376 )
...
## Why
Subagents can inherit the root session's service tier or get one from their
role. A per-spawn override lets a caller choose a tier for an individual
child without changing those defaults.
## What changed
Enable the optional `service_tier` argument for v1 and v2 `spawn_agent`
with `multi_agent_v2.expose_spawn_agent_service_tier`. The setting is off by
default, and tool schemas expose the argument alongside model selection.
Omit the argument to use normal inheritance, pass `default` to request
the default tier, or specify a tier available for the child's model and
provider. Unavailable explicit tiers return a spawn error.
Persist the child's choice across eviction and reload. Parent, sibling,
and descendant agents continue to use their usual tier selection.
## Testing
Extend coverage for tier selection in model requests, rejection of
unadvertised Flex on Bedrock, and restoration after eviction without
passing the override to grandchildren.
GitOrigin-RevId: 2e9b92af44232b6a5682fe2cd97980f17cbb5d97
2026-11-23 16:52:47 +00:00
..
2026-11-10 01:30:08 +00:00
2026-11-20 21:42:17 +00:00
2026-11-04 13:03:01 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-11-13 22:01:26 +00:00
2026-11-20 01:48:00 +00:00
2026-11-20 06:05:04 +00:00
2026-11-20 06:05:04 +00:00
2026-11-17 20:04:36 +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-30 18:33:14 +00:00
2026-11-17 14:20:08 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33: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-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-10-05 18:52:51 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 21:42:17 +00:00
2026-11-03 12:33:26 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 21:42:17 +00:00
2026-11-16 04:54:23 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-04 00:19:12 +00:00
2026-11-03 21:24:16 +00:00
2026-10-30 20:53:25 +00:00
2026-11-03 21:24:16 +00:00
2026-11-03 21:24:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-17 21:40:36 +00:00
2026-11-21 05:42:40 +00:00
2026-11-21 05:42:40 +00:00
2026-11-16 04:54:23 +00:00
2026-11-21 05:42:40 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-21 05:42:40 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-10 21:28:22 +00:00
2026-11-17 20:04:36 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 23:12:16 +00:00
2026-10-30 18:33:14 +00:00
2026-11-16 04:54:23 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-11-20 23:12:16 +00:00
2026-11-21 21:40:05 +00:00
2026-11-21 21:40:05 +00:00
2026-11-20 23:12:16 +00:00
2026-11-16 04:54:23 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 21:42:17 +00:00
2026-11-13 18:46:45 +00:00
2026-11-17 16:16:36 +00:00
2026-11-21 08:39:16 +00:00
2026-11-21 08:39:16 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 18:24:49 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-21 05:42:40 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-20 20:24:34 +00:00
2026-11-20 20:24:34 +00:00
2026-11-20 20:24:34 +00:00
2026-11-18 19:39:41 +00:00
2026-11-02 20:10:37 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-17 22:58:38 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-21 08:38:44 +00:00
2026-11-20 21:42:17 +00:00
2026-11-04 13:03:01 +00:00
2026-11-02 21:35:56 +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-30 18:33:14 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-10-21 10:40:59 +00:00
2026-11-20 23:12:16 +00:00
2026-11-17 22:58:38 +00:00
2026-11-17 22:58:38 +00:00
2026-11-17 20:04:36 +00:00
2026-11-21 05:42:40 +00:00
2026-11-21 05:42:40 +00:00
2026-11-21 04:18:31 +00:00
2026-11-21 05:42:40 +00:00
2026-11-23 16:52:47 +00:00
2026-11-20 23:44:47 +00:00
2026-11-20 23:44:47 +00:00
2026-11-17 20:04:36 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 21:42:17 +00:00
2026-11-16 04:54:23 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 21:42:17 +00:00
2026-10-30 18:33:14 +00:00
2026-11-18 15:24:29 +00:00
2026-11-20 23:12:16 +00:00
2026-11-17 03:48:25 +00:00
2026-11-17 03:48:25 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-10-30 20:53:25 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-16 04:54:23 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-16 04:54:23 +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-11-20 21:42:17 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 23:12:16 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-10-27 19:11:56 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-10-30 18:33:14 +00:00