Keyan Zhang
0bc1e7db9a
Allow per-sample model overrides in thread/sample ( #62419 )
...
## Why
Clients sampling a thread could only use the source thread's model.
## What changed
Add an optional `model` field to the experimental `thread/sample`
request. Omitting it or passing `null` inherits the source thread's
model. When an override is supplied, the server uses the selected
model's capabilities to decide whether to apply the requested
reasoning effort.
## Testing
Add an app-server integration test that checks model selection and
reasoning effort for the overridden sample, then verifies that a
subsequent sample and a follow-up turn use the source model.
GitOrigin-RevId: f5c54ca3d693d31e1f3e0628a520583330a5d56d
2026-11-19 03:37:31 +00:00
..
2026-11-17 15:55:01 +00:00
2026-11-12 23:51:52 +00:00
2026-11-12 22:41:50 +00:00
2026-11-18 15:38:06 +00:00
2026-11-18 22:13:26 +00:00
2026-11-19 03:37:31 +00:00
2026-11-18 22:13:26 +00:00
2026-11-19 03:37:31 +00:00
2026-11-18 07:43:45 +00:00
2026-11-18 07:23:25 +00:00
2026-11-17 13:38:34 +00:00
2026-11-18 00:33:23 +00:00
2026-11-13 04:48:28 +00:00
2026-11-18 20:14:05 +00:00
2026-11-17 03:17:05 +00:00
2026-11-17 16:42:48 +00:00
2026-11-16 17:47:49 +00:00
2026-11-16 17:47:49 +00:00
2026-11-16 17:47:49 +00:00
2026-11-16 17:47:49 +00:00
2026-11-19 01:14:54 +00:00
2026-11-19 01:27:01 +00:00
2026-11-18 21:56:16 +00:00
2026-11-18 20:42:18 +00:00
2026-11-19 03:03:32 +00:00
2026-11-12 22:43:14 +00:00
2026-11-18 17:57:12 +00:00
2026-11-12 23:51:52 +00:00
2026-11-13 20:23:24 +00:00
2026-11-18 22:40:03 +00:00
2026-11-19 01:16:07 +00:00
2026-11-18 17:55:49 +00:00
2026-11-16 18:19:16 +00:00
2026-11-18 21:57:35 +00:00
2026-11-12 23:51:52 +00:00
2026-11-19 01:27:01 +00:00
2026-11-14 02:45:51 +00:00
2026-11-10 08:52:35 +00:00
2026-11-17 01:59:51 +00:00
2026-11-18 16:16:32 +00:00
2026-11-18 15:24:29 +00:00
2026-11-17 21:40:36 +00:00
2026-11-19 01:14:54 +00:00
2026-11-12 04:32:34 +00:00
2026-11-18 07:23:25 +00:00
2026-11-17 19:23:05 +00:00
2026-11-17 01:59:51 +00:00
2026-11-16 20:53:56 +00:00
2026-11-18 21:57:35 +00:00
2026-11-18 14:11:08 +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-18 18:27:21 +00:00
2026-11-18 06:22:36 +00:00
2026-11-17 21:10:09 +00:00
2026-11-17 21:40:36 +00:00
2026-11-17 18:24:49 +00:00
2026-11-19 01:14:54 +00:00
2026-11-18 18:11:54 +00:00
2026-11-19 01:27:01 +00:00
2026-11-18 15:24:29 +00:00
2026-11-19 02:41:02 +00:00
2026-11-19 00:17:19 +00:00
2026-11-18 19:21:39 +00:00
2026-11-13 23:15:54 +00:00
2026-11-12 23:51:52 +00:00
2026-11-19 00:59:23 +00:00
2026-11-18 21:57:35 +00:00
2026-11-18 04:16:11 +00:00
2026-11-18 21:56:16 +00:00
2026-11-18 15:24:29 +00:00
2026-11-19 01:27:01 +00:00
2026-11-19 02:26:51 +00:00
2026-11-17 04:08:00 +00:00
2026-11-17 20:05:26 +00:00
2026-11-18 22:40:03 +00:00
2026-11-13 18:51:30 +00:00
2026-11-12 23:51:52 +00:00
2026-11-12 23:51:52 +00:00
2026-11-18 04:52:38 +00:00
2026-11-17 22:45:51 +00:00
2026-11-12 23:53:50 +00:00
2026-11-13 22:18:01 +00:00
2026-11-19 00:17:19 +00:00
2026-11-18 18:27:21 +00:00
2026-11-17 15:55:01 +00:00
2026-11-12 23:51:52 +00:00