From 124ca773c6a0d9af90e4507c88a56eb1902dc2fc Mon Sep 17 00:00:00 2001 From: Pierrick HYMBERT Date: Sat, 24 Feb 2024 08:23:19 +0100 Subject: [PATCH] server: tests: removing debug print --- examples/server/tests/features/steps/steps.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/server/tests/features/steps/steps.py b/examples/server/tests/features/steps/steps.py index fda8aab8f..36c815d66 100644 --- a/examples/server/tests/features/steps/steps.py +++ b/examples/server/tests/features/steps/steps.py @@ -480,8 +480,6 @@ async def oai_chat_completions(user_prompt, json=payload, headers=headers) as response: if enable_streaming: - # FIXME: does not work; the server is generating only one token - print("DEBUG payload", payload) assert response.status == 200 assert response.headers['Access-Control-Allow-Origin'] == origin assert response.headers['Content-Type'] == "text/event-stream" @@ -503,7 +501,6 @@ async def oai_chat_completions(user_prompt, if 'content' in delta: completion_response['content'] += delta['content'] completion_response['timings']['predicted_n'] += 1 - print(f"DEBUG completion_response: {completion_response}") else: if expect_api_error is None or not expect_api_error: assert response.status == 200