Explorar o código

fix: update time_test.sh

JustSong %!s(int64=2) %!d(string=hai) anos
pai
achega
f51c982437
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bin/time_test.sh

+ 1 - 1
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 '{"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")