From 6e24f6f370c95bab1fa1ded2aab3bd9266a25858 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20Bene=C5=A1?= Date: Wed, 18 Nov 2026 21:12:42 +0000 Subject: [PATCH] A test's made-up schedule names its model without a connection 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 --- app/src/test/java/eu/llembas/android/ScheduleTypesTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/test/java/eu/llembas/android/ScheduleTypesTest.kt b/app/src/test/java/eu/llembas/android/ScheduleTypesTest.kt index 5e42ef8..dabbedd 100644 --- a/app/src/test/java/eu/llembas/android/ScheduleTypesTest.kt +++ b/app/src/test/java/eu/llembas/android/ScheduleTypesTest.kt @@ -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)