From b9f8390d283daaccf75bfb7d310c4293242b20c1 Mon Sep 17 00:00:00 2001 From: Pierrick HYMBERT Date: Tue, 20 Feb 2024 22:49:36 +0100 Subject: [PATCH] server: tests: check for infinite loops --- examples/server/tests/features/server.feature | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/examples/server/tests/features/server.feature b/examples/server/tests/features/server.feature index c4d821d74..35b4244d3 100644 --- a/examples/server/tests/features/server.feature +++ b/examples/server/tests/features/server.feature @@ -54,10 +54,6 @@ Feature: llama.cpp server It was her greeting to Prince Vassily, a man high in rank and office, who was the first to arrive at her soirée. """ - And a prompt: - """ - Write another very long music lyrics. - """ Given concurrent completion requests Then the server is busy And all slots are busy @@ -69,7 +65,7 @@ Feature: llama.cpp server Scenario: Multi users OAI Compatibility Given a system prompt "You are an AI assistant." And a model tinyllama-2 - And 512 max tokens to predict + And 1024 max tokens to predict And streaming is enabled Given a prompt: """ @@ -79,10 +75,6 @@ Feature: llama.cpp server """ Write another very long music lyrics. """ - And a prompt: - """ - I believe the meaning of life is - """ Given concurrent OAI completions requests Then the server is busy And all slots are busy