chore(ci): do not overload the apple tests

Skip tests that are already run on other jobs and not really adding anything here. We have already functional tests that cover apple.

Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
Ettore Di Giacinto
2025-12-04 14:15:15 +01:00
committed by GitHub
parent ca2e878aaf
commit 100ebdfa2c

View File

@@ -970,6 +970,9 @@ parameters:
})
It("returns logprobs in chat completions when requested", func() {
if runtime.GOOS != "linux" {
Skip("test only on linux")
}
topLogprobsVal := 3
response, err := client.CreateChatCompletion(context.TODO(), openai.ChatCompletionRequest{
Model: "testmodel.ggml",
@@ -1027,6 +1030,9 @@ parameters:
})
It("applies logit_bias to chat completions when requested", func() {
if runtime.GOOS != "linux" {
Skip("test only on linux")
}
// logit_bias is a map of token IDs (as strings) to bias values (-100 to 100)
// According to OpenAI API: modifies the likelihood of specified tokens appearing in the completion
logitBias := map[string]int{