package domain

import "testing"

func TestLLMProviderOptions_OpenAIIncludesGPT54Family(t *testing.T) {
	t.Parallel()

	models := LLMModelsByProvider(LLMProviderOpenAI)
	if len(models) == 0 {
		t.Fatalf("expected openai model list")
	}

	required := map[string]bool{
		"gpt-5.4":      false,
		"gpt-5.4-mini": false,
		"gpt-5.4-nano": false,
	}
	for _, model := range models {
		if _, ok := required[model.Value]; ok {
			required[model.Value] = true
		}
	}
	for model, present := range required {
		if !present {
			t.Fatalf("missing openai model option: %s", model)
		}
	}
}
