Mr0Bread
bd27eb5474
fix(agents): preserve effort for pending model switches ( #4487 )
...
In an existing chat, a model that only appeared after Refresh models could be selected but its effort levels stayed unavailable until a message was sent, because the refreshed catalog listed the model without the settings a session reports for it. Selecting such a model now discovers its settings without a prompt and keeps the model and chosen effort as a pending switch; the next message reloads the same session, applies the model and the effort, then sends. If either is rejected, the previous selection is restored and nothing is sent.
Co-authored-by: Mr0Bread <[email protected] >
2026-11-19 19:25:08 +08:00
..
2026-11-19 19:25:08 +08:00
2026-11-15 23:59:47 +08:00
2026-11-18 12:54:07 -08:00
2026-11-15 23:59:47 +08:00
2026-11-13 13:18:05 +08:00
2026-11-13 13:18:05 +08:00
2026-11-15 23:59:47 +08:00
2026-11-18 12:54:07 -08:00
2026-11-10 19:50:46 +08:00
2026-11-07 10:57:18 +08:00
2026-11-10 19:50:46 +08:00
2026-11-17 14:26:57 +08:00
2026-11-16 10:09:54 +08:00
2026-11-15 21:55:09 +08:00
2026-10-29 20:48:02 +08:00
2026-11-15 09:45:47 +08:00
2026-11-17 19:23:15 +08:00
2026-11-18 20:22:19 +08:00
2026-11-18 22:21:24 +08:00
2026-11-12 10:33:49 +08:00
2026-11-19 19:15:53 +08:00
2026-11-19 19:15:53 +08:00
2026-11-19 17:36:23 +08:00
2026-11-19 17:04:27 +08:00
2026-11-19 17:04:27 +08:00
2026-11-14 19:24:55 +08:00
2026-11-18 11:34:39 +08:00
2026-11-19 17:04:27 +08:00
2026-11-19 17:04:27 +08:00
2026-11-17 21:58:00 +08:00
2026-11-13 22:29:59 +08:00
2026-11-19 17:36:23 +08:00
2026-11-19 17:36:23 +08:00
2026-11-17 23:19:50 +08:00
2026-11-17 23:19:50 +08:00
2026-11-04 00:38:33 +08:00
2026-11-15 08:59:01 +08:00
2026-11-16 06:46:13 +08:00
2026-11-17 21:15:20 +08:00
2026-11-16 01:11:16 +08:00
2026-11-16 20:28:47 +08:00
2026-11-19 17:36:23 +08:00
2026-11-19 17:03:44 +08:00
2026-10-30 19:48:55 +08:00
2026-10-30 19:48:55 +08:00
2026-11-14 05:56:28 +08:00
2026-11-19 17:03:44 +08:00
2026-11-11 16:46:45 +08:00
2026-11-08 20:34:39 +08:00
2026-11-18 18:36:43 +08:00
2026-11-18 18:36:43 +08:00
2026-11-06 13:08:38 +08:00
2026-11-16 06:46:13 +08:00
2026-11-17 14:15:40 +08:00
2026-11-16 20:28:47 +08:00
2026-11-17 14:15:40 +08:00
2026-11-17 14:15:40 +08:00
2026-11-16 14:32:11 +08:00
2026-11-16 14:32:11 +08:00
2026-11-16 14:32:11 +08:00
2026-11-12 21:10:33 +08:00
2026-11-13 22:29:59 +08:00
2026-11-17 01:03:51 +08:00
2026-11-19 17:36:23 +08:00
2026-11-13 10:04:58 +08:00
2026-11-13 10:04:58 +08:00
2026-11-16 17:51:05 +08:00
2026-11-16 17:51:05 +08:00
2026-10-30 22:45:42 +08:00
2026-10-31 00:55:29 +08:00
2026-11-16 06:46:13 +08:00
2026-11-18 11:55:57 +08:00
2026-11-19 17:03:44 +08:00
2026-11-11 22:45:36 +08:00
2026-11-16 23:59:35 +08:00
2026-11-16 23:59:35 +08:00
2026-11-11 15:33:53 +08:00
2026-11-11 15:33:53 +08:00
2026-11-09 11:36:35 +08:00
2026-11-11 15:20:09 +08:00
2026-11-19 17:03:44 +08:00
2026-11-18 22:21:24 +08:00
2026-11-17 14:55:43 +08:00
2026-11-17 14:55:43 +08:00
2026-11-18 11:55:57 +08:00
2026-11-17 14:55:43 +08:00
2026-11-18 20:22:19 +08:00
2026-11-17 20:02:09 +08:00
2026-11-18 20:22:19 +08:00
2026-11-18 18:32:14 +08:00
2026-11-19 17:04:27 +08:00
2026-11-01 04:18:32 +08:00
2026-11-01 04:18:32 +08:00
2026-11-18 11:55:57 +08:00
2026-11-18 11:55:57 +08:00
2026-11-15 09:45:47 +08:00
2026-11-14 21:13:23 +08:00
2026-11-13 21:14:41 +08:00
2026-11-10 19:50:46 +08:00
2026-11-11 12:31:37 +08:00
2026-11-17 23:19:50 +08:00
2026-11-18 20:22:19 +08:00
2026-11-15 23:59:47 +08:00
2026-11-15 21:55:09 +08:00
2026-11-15 21:55:09 +08:00
2026-11-15 21:55:09 +08:00