From 206dae9bd021296bdf76c84172c42f5319b6619e Mon Sep 17 00:00:00 2001 From: rfshubert Date: Thu, 5 Mar 2026 07:46:09 -0300 Subject: [PATCH] fix: carry RequestTimeout in MiniMax migration and add normalizeModel test --- pkg/providers/openai_compat/provider_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/providers/openai_compat/provider_test.go b/pkg/providers/openai_compat/provider_test.go index 174bcf00d..37178b7e1 100644 --- a/pkg/providers/openai_compat/provider_test.go +++ b/pkg/providers/openai_compat/provider_test.go @@ -383,6 +383,9 @@ func TestNormalizeModel_UsesAPIBase(t *testing.T) { if got := normalizeModel("openrouter/auto", "https://openrouter.ai/api/v1"); got != "openrouter/auto" { t.Fatalf("normalizeModel(openrouter) = %q, want %q", got, "openrouter/auto") } + if got := normalizeModel("minimax/MiniMax-M2.5", "https://api.minimax.chat/v1"); got != "MiniMax-M2.5" { + t.Fatalf("normalizeModel(minimax) = %q, want %q", got, "MiniMax-M2.5") + } } func TestProvider_RequestTimeoutDefault(t *testing.T) {