mirror of
https://github.com/lightbroker/llmsecops-research.git
synced 2026-05-14 13:18:08 +02:00
increase parallel attempts
This commit is contained in:
@@ -71,14 +71,14 @@ jobs:
|
||||
id: run_tests
|
||||
run: |
|
||||
# Test curl with detailed error reporting
|
||||
curl_output=$(curl -X POST -i localhost:9999/api/conversations -d '{ "prompt": "describe a random planet in our solar system in 10 words or less" }' --connect-timeout 10 -v 2>&1) || true
|
||||
echo "$curl_output"
|
||||
# curl_output=$(curl -X POST -i localhost:9999/api/conversations -d '{ "prompt": "describe a random planet in our solar system in 10 words or less" }' --connect-timeout 10 -v 2>&1) || true
|
||||
# echo "$curl_output"
|
||||
|
||||
garak -v \
|
||||
--config ${{ github.workspace }}/src/tools/garak.config.yml \
|
||||
--generator_option_file ${{ github.workspace }}/src/tools/garak.rest.llm.json \
|
||||
--model_type=rest \
|
||||
--parallel_attempts 16
|
||||
--parallel_attempts 32
|
||||
garak_exit_code=$?
|
||||
echo "garak exit code: $garak_exit_code"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user