Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 876790f

Browse files
committed
fix: e2e testing for linux and mac
1 parent 169ab71 commit 876790f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/scripts/e2e-test-llama-linux-and-mac.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,12 @@ fi
6565
response2=$(
6666
curl --connect-timeout 60 -o /tmp/completion-res.log -s -w "%{http_code}" --location "http://127.0.0.1:$PORT/v1/chat/completions" \
6767
--header 'Content-Type: application/json' \
68-
--header 'Accept: text/event-stream' \
69-
--header 'Access-Control-Allow-Origin: *' \
7068
--data '{
7169
"messages": [
7270
{"content": "Hello there", "role": "assistant"},
7371
{"content": "Write a long and sad story for me", "role": "user"}
7472
],
75-
"stream": true,
73+
"stream": false,
7674
"model": "gpt-3.5-turbo",
7775
"max_tokens": 50,
7876
"stop": ["hello"],

0 commit comments

Comments
 (0)