style(openai_compat): wrap longcat test call for golines

This commit is contained in:
Alix-007 2026-03-26 21:28:44 +08:00
parent b224647ab2
commit ddb65433cb

View file

@ -184,7 +184,13 @@ func TestProviderChat_ParsesLongCatMarkupToolCalls(t *testing.T) {
}), }),
} }
out, err := p.Chat(t.Context(), []Message{{Role: "user", Content: "hi"}}, nil, "longcat/LongCat-Flash-Thinking", nil) out, err := p.Chat(
t.Context(),
[]Message{{Role: "user", Content: "hi"}},
nil,
"longcat/LongCat-Flash-Thinking",
nil,
)
if err != nil { if err != nil {
t.Fatalf("Chat() error = %v", err) t.Fatalf("Chat() error = %v", err)
} }