Skip to content

Commit

Permalink
Update run_smoke_test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
imda-benedictlee authored Aug 29, 2024
1 parent fbd2ef8 commit f083cc7
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/scripts/run_smoke_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

AZURE_OPENAI_API_KEY=$1
AZURE_OPENAI_ENDPOINT=$2
ADDITIONAL_PARAMETERS=$3
TEST_BRANCH_NAME=${4:-main}
TEST_BRANCH_NAME=${3:-main}

BASE_DIR=~/moonshot
SCRIPTS_DIR=~/scripts
Expand All @@ -13,7 +12,13 @@ export AZURE_OPENAI_TOKEN=$AZURE_OPENAI_API_KEY
export AZURE_OPENAI_URI=$AZURE_OPENAI_ENDPOINT
export MOONSHOT_URL="http://127.0.0.1"
export MOONSHOT_PORT_NUMBER="3100"
export ADDITIONAL_PARAMETERS='$ADDITIONAL_PARAMETERS'
export ADDITIONAL_PARAMETERS="{
\"timeout\": 300,
\"allow_retries\": true,
\"num_of_retries\": 3,
\"temperature\": 0.5,
\"model\": \"gpt-4o\"
}"

cd $BASE_DIR

Expand Down

0 comments on commit f083cc7

Please sign in to comment.