test(openrouter): simplify list of providers and models to test

Andrey Nering created

Make it shorter (one per major provider) and favor smaller models.

Change summary

providertests/openrouter_test.go | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)

Detailed changes

providertests/openrouter_test.go 🔗

@@ -13,16 +13,12 @@ import (
 )
 
 var openrouterTestModels = []testModel{
-	{"kimi-k2", "moonshotai/kimi-k2-0905", false},
-	{"grok-code-fast-1", "x-ai/grok-code-fast-1", true},
-	{"claude-sonnet-4", "anthropic/claude-sonnet-4", true},
-	{"gemini-2.5-flash", "google/gemini-2.5-flash", false},
-	{"deepseek/deepseek-v3.2", "deepseek/deepseek-v3.2", false},
-	{"qwen3-235b-a22b-2507", "qwen/qwen3-235b-a22b-2507", false},
-	{"gpt-5", "openai/gpt-5", true},
-	{"gemini-3-pro-preview", "google/gemini-3-pro-preview", true},
-	{"glm-4.5", "z-ai/glm-4.5", false},
-	{"glm-4.6", "z-ai/glm-4.6", true},
+	{"anthropic", "anthropic/claude-haiku-4.5", false},
+	{"openai", "openai/gpt-5.4-nano", false},
+	{"gemini", "google/gemini-3.1-flash-lite-preview", false},
+	{"grok", "x-ai/grok-4.1-fast", false},
+	{"glm", "z-ai/glm-5-turbo", false},
+	{"kimi", "moonshotai/kimi-k2.5", false},
 }
 
 func TestOpenRouterCommon(t *testing.T) {
@@ -35,7 +31,7 @@ func TestOpenRouterCommon(t *testing.T) {
 
 func TestOpenRouterCommonWithAnthropicCache(t *testing.T) {
 	testCommon(t, []builderPair{
-		{"claude-sonnet-4", openrouterBuilder("anthropic/claude-sonnet-4"), nil, addAnthropicCaching},
+		{"anthropic", openrouterBuilder("anthropic/claude-haiku-4.5"), nil, addAnthropicCaching},
 	})
 }
 
@@ -59,7 +55,7 @@ func TestOpenRouterThinking(t *testing.T) {
 
 	// test anthropic signature
 	testThinking(t, []builderPair{
-		{"claude-sonnet-4-sig", openrouterBuilder("anthropic/claude-sonnet-4"), opts, nil},
+		{"anthropic", openrouterBuilder("anthropic/claude-haiku-4.5"), opts, nil},
 	}, testOpenrouterThinkingWithSignature)
 }