The pinned schedule now carries model_ref; the test that gives it another model id gives it no ref, as a server that knows no connection for it would. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 file changed
+1
-1
@@ -118,7 +118,7 @@ class ScheduleTypesTest {
|
||||
|
||||
@Test
|
||||
fun aChatSchedulesModelIsShownWhenItIsMadeAgentic() {
|
||||
val chat = read("schedule", ScheduleEnvelope.serializer()).schedule.copy(model = "gpt-oss")
|
||||
val chat = read("schedule", ScheduleEnvelope.serializer()).schedule.copy(model = "gpt-oss", modelRef = null)
|
||||
val form = EditState().read(chat).copy(loaded = true, agentic = true, device = "tok1", cwd = "/home/user/project")
|
||||
// Its own model is the one the form shows, and it is kept: nothing is said of it.
|
||||
assertEquals("gpt-oss", form.model)
|
||||
|
||||
Reference in new issue
Block a user