Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

integration: look for the "hf" tool in integration tests (#16765)

Patrick Devine9e4ed74efe63
diff --git a/integration/create_test.go b/integration/create_test.go
index e3ef5acc2..cca2d4270 100644
--- a/integration/create_test.go
+++ b/integration/create_test.go
@@ -48,10 +48,8 @@ func skipIfRemote(t *testing.T) {
// findHFCLI returns the path to the HuggingFace CLI, or "" if not found.
func findHFCLI() string {
- for _, name := range []string{"huggingface-cli", "hf"} {
- if p, err := exec.LookPath(name); err == nil {
- return p
- }
+ if p, err := exec.LookPath("hf"); err == nil {
+ return p
}
return ""
}