Merge pull request #3051 from philipbankier/fix/gpt55-free-tier-test

fix(test): remove free tier from GPT-5.5 inclusion test
This commit is contained in:
Luis Pater
2026-04-26 22:35:59 +08:00
committed by GitHub

View File

@@ -2,9 +2,15 @@ package registry
import "testing"
func TestCodexFreeModelsExcludeGPT55(t *testing.T) {
model := findModelInfo(GetCodexFreeModels(), "gpt-5.5")
if model != nil {
t.Fatal("expected codex free tier to NOT include gpt-5.5")
}
}
func TestCodexStaticModelsIncludeGPT55(t *testing.T) {
tierModels := map[string][]*ModelInfo{
"free": GetCodexFreeModels(),
"team": GetCodexTeamModels(),
"plus": GetCodexPlusModels(),
"pro": GetCodexProModels(),