From 1d8dbe0696e9f0b3bbf07dbc2b357fb7609fead3 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Wed, 10 Jan 2024 19:36:07 +0530 Subject: [PATCH] build(config.yml): update build --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3605e235b..4ec93fb76 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -140,7 +140,7 @@ jobs: status_file="/tmp/responses/status_${i}.txt" response_file="/tmp/responses/response_${i}.json" - (curl --location --request 'POST' 'http://0.0.0.0:4000/key/generate' \ + (curl --location --request POST 'http://0.0.0.0:4000/key/generate' \ --header 'Authorization: Bearer sk-1234' \ --header 'Content-Type: application/json' \ --data '{"models": ["azure-models"], "aliases": {"mistral-7b": "gpt-3.5-turbo"}, "duration": null}' \ @@ -162,7 +162,7 @@ jobs: response=$(cat "/tmp/responses/response_${i}.json") echo "Response ${i} (Status code: ${status}):" - cat "${response}" + cat "${response_file}" echo # Newline for readability if [ "$status" -ne 200 ]; then