Compare commits

...

6 Commits

Author SHA1 Message Date
Eva Ho 39fc1e1816 launch/opencode: re-apply on enriched model inventory 2026-06-03 13:23:35 -07:00
Eva Ho 05c684f49f test: dedupe buildModelEntries coverage 2026-06-03 13:20:53 -07:00
Eva Ho 9f850a4285 launch/opencode: keep gpt-oss alias toggle behavior 2026-06-03 13:20:53 -07:00
Eva Ho 1637945a02 launch/opencode: bound thinking show probes 2026-06-03 13:20:53 -07:00
Eva Ho 95014117f0 add test 2026-06-03 13:20:53 -07:00
Eva Ho e4ee912421 launch: add thinking capability detection to opencode 2026-06-03 13:20:01 -07:00
-8
View File
@@ -196,14 +196,6 @@ func TestBuildModelEntries(t *testing.T) {
t.Fatalf("limit = %v, want context/output", limit)
}
})
t.Run("omits context-only limits", func(t *testing.T) {
models := buildModelEntries([]LaunchModel{{Name: "qwen2.5:0.5b", ContextLength: 32768}})
entry, _ := models["qwen2.5:0.5b"].(map[string]any)
if _, ok := entry["limit"]; ok {
t.Fatalf("limit should be omitted when output limit is unknown, got %v", entry["limit"])
}
})
}
func TestOpenCodeModels_ReturnsNil(t *testing.T) {