Commit 3b0779b3 by JustSong

fix: update time_test.sh

parent f9256fea
...@@ -16,7 +16,7 @@ for ((i=1; i<=count; i++)); do ...@@ -16,7 +16,7 @@ for ((i=1; i<=count; i++)); do
https://"$domain"/v1/chat/completions \ https://"$domain"/v1/chat/completions \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-H "Authorization: Bearer $key" \ -H "Authorization: Bearer $key" \
-d '{"prompt": "hi!", "max_tokens": 1}') -d '{"prompt": "hi!", "max_tokens": 1, "model": "gpt-3.5-turbo"}')
echo "$result" echo "$result"
total_time=$(bc <<< "$total_time + $result") total_time=$(bc <<< "$total_time + $result")
times+=("$result") times+=("$result")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment