Skip to content

Commit

Permalink
fix: update time_test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Jun 22, 2023
1 parent 36e681e commit f51c982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/time_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 '{"prompt": "hi!", "max_tokens": 1}')
-d '{"prompt": "hi!", "max_tokens": 1, "model": "gpt-3.5-turbo"}')
echo "$result"
total_time=$(bc <<< "$total_time + $result")
times+=("$result")
Expand Down

0 comments on commit f51c982

Please sign in to comment.