From 28a8c5cc478d498e8164be2ed2eb4322c8da11dd Mon Sep 17 00:00:00 2001 From: mrhaoji Date: Thu, 22 Jun 2023 19:52:28 +0800 Subject: [PATCH] Update time_test.sh to fix the params --- bin/time_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/time_test.sh b/bin/time_test.sh index 20962174..e6d7a22a 100644 --- a/bin/time_test.sh +++ b/bin/time_test.sh @@ -16,7 +16,7 @@ for ((i=1; i<=count; i++)); do https://"$domain"/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $key" \ - -d '{"messages": [{"content": "echo hi", "role": "user"}], "model": "gpt-3.5-turbo-0613", "stream": false, "max_tokens": 1}') + -d '{"messages": [{"content": "echo hi", "role": "user"}], "model": "gpt-3.5-turbo", "stream": false, "max_tokens": 1}') echo "$result" total_time=$(bc <<< "$total_time + $result") times+=("$result")