A test's made-up schedule names its model without a connection
CI / check (push) Canceled after 0s

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:
HomerandClaude Fable 5.2 committed 2026-11-18 21:12:42 +00:00
1 parent 536f71a627
commit 6e24f6f370
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)