This commit is contained in:
Michael Yang
2025-11-18 14:07:58 -08:00
parent f01c83ed6d
commit 4d24d8a77d
22 changed files with 58 additions and 91 deletions

View File

@@ -345,11 +345,9 @@ func GetInferenceComputer(ctx context.Context) ([]InferenceCompute, error) {
slog.Info("Matched", "inference compute", ic)
inference = append(inference, ic)
} else {
} else if len(inference) > 0 {
// Break out on first non matching line after we start matching
if len(inference) > 0 {
return inference, nil
}
return inference, nil
}
}
time.Sleep(100 * time.Millisecond)