From 15958b992d5d37062e7305e44b7ddcc40bf2e942 Mon Sep 17 00:00:00 2001 From: mika kuns Date: Fri, 7 Aug 2026 11:14:21 +0200 Subject: [PATCH] feat(models): add fable to the cost-ascending model list --- src/ClaudeDo.Data/Models/ModelRegistry.cs | 2 +- tests/ClaudeDo.Data.Tests/ModelRegistryTests.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ClaudeDo.Data/Models/ModelRegistry.cs b/src/ClaudeDo.Data/Models/ModelRegistry.cs index dd2f3cc1..8d3ea34f 100644 --- a/src/ClaudeDo.Data/Models/ModelRegistry.cs +++ b/src/ClaudeDo.Data/Models/ModelRegistry.cs @@ -5,7 +5,7 @@ public static class ModelRegistry public static readonly IReadOnlyList Aliases = new[] { "sonnet", "opus", "haiku", "fable" }; /// Model aliases ordered cheapest → most capable. Single source for prompt cost guidance. - public static readonly IReadOnlyList ByCostAscending = new[] { "haiku", "sonnet", "opus" }; + public static readonly IReadOnlyList ByCostAscending = new[] { "haiku", "sonnet", "opus", "fable" }; public const string DefaultAlias = "sonnet"; public const string PlanningAlias = "opus"; diff --git a/tests/ClaudeDo.Data.Tests/ModelRegistryTests.cs b/tests/ClaudeDo.Data.Tests/ModelRegistryTests.cs index f38382aa..5e6e6d72 100644 --- a/tests/ClaudeDo.Data.Tests/ModelRegistryTests.cs +++ b/tests/ClaudeDo.Data.Tests/ModelRegistryTests.cs @@ -29,9 +29,9 @@ public class ModelRegistryTests } [Fact] - public void ByCostAscending_is_haiku_sonnet_opus() + public void ByCostAscending_is_haiku_sonnet_opus_fable() { - Assert.Equal(new[] { "haiku", "sonnet", "opus" }, ModelRegistry.ByCostAscending); + Assert.Equal(new[] { "haiku", "sonnet", "opus", "fable" }, ModelRegistry.ByCostAscending); } [Theory]