Skip to content

Commit 2a53e47

Browse files
actually use the precheck scoring endpoint :sweat-smile:
Signed-off-by: greg pereira <[email protected]>
1 parent acaa095 commit 2a53e47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worker/cmd/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ func (w *Worker) runPrecheckScoring(precheckPRAnswers []string, precheckEndpoint
255255
commandStr += " --tls-insecure"
256256
}
257257
if PreCheckScoringEndpointURL != localEndpoint && preCheckScoringModelName != "unknown" {
258-
commandStr += fmt.Sprintf(" --endpoint-url %s --model %s", PreCheckEndpointURL, preCheckScoringModelName)
258+
commandStr += fmt.Sprintf(" --endpoint-url %s --model %s", PreCheckScoringEndpointURL, preCheckScoringModelName)
259259
}
260260
cmdArgs := strings.Fields(commandStr)
261261
cmd := exec.Command(lab, cmdArgs...)

0 commit comments

Comments
 (0)