From 1188c14ca8aef71ce90d128b95ba75813c55b825 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 29 Jul 2026 14:38:02 +0000 Subject: [PATCH] Remove fable from large model alias (sonnet-range pricing only) Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/workflow/data/model_aliases.json | 2 +- pkg/workflow/model_aliases_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/workflow/data/model_aliases.json b/pkg/workflow/data/model_aliases.json index eede0dd7133..02f135ceb31 100644 --- a/pkg/workflow/data/model_aliases.json +++ b/pkg/workflow/data/model_aliases.json @@ -36,7 +36,7 @@ "small": ["mini"], "mini": ["haiku", "gpt-5-mini", "gpt-5-nano", "gemini-flash-lite"], "fable": ["copilot/*fable*", "anthropic/*fable*"], - "large": ["fable", "sonnet", "gpt-5-pro", "gpt-5", "gemini-pro"], + "large": ["sonnet", "gpt-5-pro", "gpt-5", "gemini-pro"], "auto": ["copilot/auto", "large"], "any": ["copilot/*", "anthropic/*", "openai/*", "google/*", "gemini/*"], "agent": ["sonnet-6x", "gpt-5.4", "gpt-5.5", "gpt-5.6", "gpt-5.3", "gemini-pro", "any"], diff --git a/pkg/workflow/model_aliases_test.go b/pkg/workflow/model_aliases_test.go index 5ccbe7e73ac..9775c457879 100644 --- a/pkg/workflow/model_aliases_test.go +++ b/pkg/workflow/model_aliases_test.go @@ -76,7 +76,7 @@ func TestBuiltinModelAliases(t *testing.T) { // Meta-aliases reference other alias names (resolved recursively by AWF). assert.Equal(t, []string{"haiku", "gpt-5-mini", "gpt-5-nano", "gemini-flash-lite"}, aliases["mini"], "mini should reference haiku, gpt-5-mini, gpt-5-nano, and gemini-flash-lite") assert.Equal(t, []string{"haiku", "gpt-5-mini", "gemini-flash-lite", "mini"}, aliases["summarization"], "summarization should reference fast/lightweight models") - assert.Equal(t, []string{"fable", "sonnet", "gpt-5-pro", "gpt-5", "gemini-pro"}, aliases["large"], "large should list fable first, then sonnet, gpt-5-pro, gpt-5, and gemini-pro") + assert.Equal(t, []string{"sonnet", "gpt-5-pro", "gpt-5", "gemini-pro"}, aliases["large"], "large should list sonnet-range pricing models: sonnet, gpt-5-pro, gpt-5, and gemini-pro") assert.Equal(t, []string{"copilot/auto", "large"}, aliases["auto"], "auto should pass copilot/auto as-is to the Copilot API and fall back to large for other providers") assert.Equal(t, []string{"copilot/*fable*", "anthropic/*fable*"}, aliases["fable"], "fable should map to provider-specific fable patterns") assert.Equal(t, []string{"copilot/gpt-5.6*", "openai/gpt-5.6*"}, aliases["gpt-5.6"], "gpt-5.6 should map to provider-specific gpt-5.6 patterns")