Skip to content
Prev Previous commit
Next Next commit
Test hyphen-equivalent exact model pricing and firewall propagation
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
  • Loading branch information
Copilot and gh-aw-bot authored Oct 10, 2026
commit 9cd7ff7b0194d63500efe422ad74fe4d8f6c7f7a
2 changes: 2 additions & 0 deletions pkg/cli/compile_compiler_setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,14 @@ models:
engine, model, provider, overlay, input string
}{
{"codex", "gpt-6.1-sol", "openai", "", "2e-06"},
{"codex", "gpt-6-1-sol", "openai", "", "2e-06"},
{"codex", "openai/gpt-6.1-sol", "openai", "", "2e-06"},
{"copilot", "copilot/gpt-6.1-sol", "github-copilot", "", "2e-06"},
{"codex", "gpt-6.1-sol?effort=high", "openai", "", "2e-06"},
{"codex", "openai/gpt-6.1-sol?effort=high&temperature=0.2", "openai", "", "2e-06"},
{"copilot", "gpt-6.1-sol?temperature=0.2", "github-copilot", "", "2e-06"},
{"copilot", "copilot/gpt-6.1-sol?effort=high", "github-copilot", "", "2e-06"},
{"copilot", "copilot/gpt-6-1-sol?effort=high", "github-copilot", "", "2e-06"},
{"copilot", "github-copilot/gpt-6.1-sol?effort=high", "github-copilot", "", "2e-06"},
{"codex", "GPT_6_1_SOL", "openai", "", "2e-06"},
{"copilot", "copilot/GPT_6.1_SOL?effort=high", "github-copilot", "", "2e-06"},
Expand Down
4 changes: 4 additions & 0 deletions pkg/cli/model_costs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,20 @@ func TestFindExactModelPricing(t *testing.T) {
found bool
}{
{"openai", "gpt-6.1-sol", true},
{"openai", "gpt-6-1-sol", true},
{"copilot", "gpt-6.1-sol", true},
{"copilot", "gpt-6-1-sol?effort=high", true},
{"github-copilot", " GPT-6.1-SOL ", true},
{"openai", "gpt-6.1-sol?effort=high", true},
{"copilot", "gpt-6.1-sol?temperature=0.2", true},
{"openai", "GPT_6_1_SOL", true},
{"copilot", "gpt_6.1_sol", true},
{"openai", "GPT_6.1_SOL?effort=high", true},
{"anthropic", "gpt-6.1-sol", false},
{"anthropic", "gpt-6-1-sol", false},
{"anthropic", "GPT_6_1_SOL?effort=high", false},
{"openai", "gpt-6.1-sol-unknown", false},
{"openai", "gpt-6-1-sol-unknown", false},
{"openai", "gpt_6.1_sol_unknown?effort=high", false},
{"openai", "gpt-6.1-sol*", false},
{"openai", "gpt-99", false},
Expand Down